mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 04:43:23 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05b7618536 | ||
|
|
9a30f99797 | ||
|
|
96dae4047b | ||
|
|
33294c516e | ||
|
|
28338e45cb | ||
|
|
b3ca13fe4e | ||
|
|
39ade149be | ||
|
|
3372a85d5e | ||
|
|
7266776081 | ||
|
|
4883b7f492 | ||
|
|
bb0743f8f7 | ||
|
|
2bbf21d105 |
+1
-1
@@ -6,4 +6,4 @@ VITE_APP_API_BASEURL = /
|
||||
VITE_APP_DEBUG_TOOL =
|
||||
|
||||
# 是否开启代理
|
||||
VITE_OPEN_PROXY = true
|
||||
VITE_OPEN_PROXY = false
|
||||
|
||||
+35
-35
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "3.2.1",
|
||||
"version": "3.2.4",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build:test": "vue-tsc --noEmit && vite build --mode test",
|
||||
@@ -18,68 +18,68 @@
|
||||
"release": "bumpp"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^10.2.1",
|
||||
"@vueuse/integrations": "^10.2.1",
|
||||
"axios": "^1.4.0",
|
||||
"dayjs": "^1.11.9",
|
||||
"element-plus": "^2.3.8",
|
||||
"@vueuse/core": "^10.5.0",
|
||||
"@vueuse/integrations": "^10.5.0",
|
||||
"axios": "^1.5.1",
|
||||
"dayjs": "^1.11.10",
|
||||
"element-plus": "^2.4.1",
|
||||
"eruda": "^3.0.1",
|
||||
"hotkeys-js": "^3.11.2",
|
||||
"hotkeys-js": "^3.12.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"mitt": "^3.0.1",
|
||||
"mockjs": "^1.1.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
"path-to-regexp": "^6.2.1",
|
||||
"pinia": "^2.1.6",
|
||||
"pinia": "^2.1.7",
|
||||
"qs": "^6.11.2",
|
||||
"vconsole": "^3.15.1",
|
||||
"vue": "^3.3.4",
|
||||
"vue-router": "^4.2.4"
|
||||
"vue": "^3.3.7",
|
||||
"vue-router": "^4.2.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.39.8",
|
||||
"@iconify-json/ep": "^1.1.11",
|
||||
"@antfu/eslint-config": "1.0.0-beta.27",
|
||||
"@iconify-json/ep": "^1.1.12",
|
||||
"@iconify/vue": "^4.1.1",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/path-browserify": "^1.0.0",
|
||||
"@types/qs": "^6.9.7",
|
||||
"@types/nprogress": "^0.2.2",
|
||||
"@types/path-browserify": "^1.0.1",
|
||||
"@types/qs": "^6.9.9",
|
||||
"@vitejs/plugin-legacy": "^4.1.1",
|
||||
"@vitejs/plugin-vue": "^4.2.3",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"bumpp": "^9.1.1",
|
||||
"cz-git": "^1.7.0",
|
||||
"eslint": "^8.46.0",
|
||||
"@vitejs/plugin-vue": "^4.4.0",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"bumpp": "^9.2.0",
|
||||
"cz-git": "^1.7.1",
|
||||
"eslint": "^8.52.0",
|
||||
"esno": "^0.17.0",
|
||||
"fs-extra": "^11.1.1",
|
||||
"http-server": "^14.1.1",
|
||||
"lint-staged": "^13.2.3",
|
||||
"lint-staged": "^15.0.2",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"plop": "^3.1.2",
|
||||
"plop": "^4.0.0",
|
||||
"postcss-html": "^1.5.0",
|
||||
"sass": "^1.64.1",
|
||||
"sass": "^1.69.4",
|
||||
"simple-git-hooks": "^2.9.0",
|
||||
"stylelint": "^15.10.2",
|
||||
"stylelint-config-standard-scss": "^10.0.0",
|
||||
"stylelint": "^15.11.0",
|
||||
"stylelint-config-standard-scss": "^11.0.0",
|
||||
"stylelint-config-standard-vue": "^1.0.0",
|
||||
"stylelint-scss": "^5.0.1",
|
||||
"stylelint-scss": "^5.2.1",
|
||||
"stylelint-stylistic": "^0.4.3",
|
||||
"svgo": "^3.0.2",
|
||||
"terser": "^5.19.2",
|
||||
"typescript": "^5.1.6",
|
||||
"terser": "^5.22.0",
|
||||
"typescript": "^5.2.2",
|
||||
"unplugin-auto-import": "^0.16.6",
|
||||
"unplugin-vue-components": "^0.25.1",
|
||||
"vite": "^4.4.7",
|
||||
"vite-plugin-banner": "^0.7.0",
|
||||
"unplugin-vue-components": "^0.25.2",
|
||||
"vite": "^4.5.0",
|
||||
"vite-plugin-banner": "^0.7.1",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-mock": "^2.9.8",
|
||||
"vite-plugin-pages": "^0.31.0",
|
||||
"vite-plugin-spritesmith": "^0.1.1",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vite-plugin-vue-inspector": "^3.5.0",
|
||||
"vite-plugin-vue-meta-layouts": "^0.2.2",
|
||||
"vue-tsc": "^1.8.8"
|
||||
"vite-plugin-vue-inspector": "^4.0.0",
|
||||
"vite-plugin-vue-meta-layouts": "^0.3.1",
|
||||
"vue-tsc": "^1.8.21"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged",
|
||||
|
||||
Generated
+2232
-1436
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
||||
import path from 'node:path'
|
||||
import process from 'node:process'
|
||||
import fs from 'fs-extra'
|
||||
import { icons } from '@iconify-json/ep'
|
||||
|
||||
|
||||
@@ -54,8 +54,7 @@ function goBack() {
|
||||
@include position-center(xy);
|
||||
|
||||
.icon {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
font-size: 400px;
|
||||
}
|
||||
|
||||
.content {
|
||||
|
||||
@@ -422,7 +422,7 @@ function pageJump(path: listTypes['path'], link: listTypes['link']) {
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
> .icon {
|
||||
flex: 0 0 66px;
|
||||
text-align: center;
|
||||
color: var(--el-color-info);
|
||||
@@ -460,8 +460,16 @@ function pageJump(path: listTypes['path'], link: listTypes['link']) {
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
span {
|
||||
margin-right: 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.icon {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
&:last-child i {
|
||||
display: none;
|
||||
|
||||
@@ -187,6 +187,9 @@ const useRouteStore = defineStore(
|
||||
if (route.component) {
|
||||
route.component = views[`../../views/${route.component}`]
|
||||
}
|
||||
else {
|
||||
delete route.component
|
||||
}
|
||||
}
|
||||
if (route.children) {
|
||||
route.children = formatBackRoutes(route.children, views)
|
||||
|
||||
@@ -58,8 +58,7 @@ function goBack() {
|
||||
@include position-center(xy);
|
||||
|
||||
.icon {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
font-size: 400px;
|
||||
}
|
||||
|
||||
.content {
|
||||
|
||||
+4
-1
@@ -1,5 +1,6 @@
|
||||
import fs from 'node:fs'
|
||||
import path from 'node:path'
|
||||
import process from 'node:process'
|
||||
import { defineConfig, loadEnv } from 'vite'
|
||||
import dayjs from 'dayjs'
|
||||
import pkg from './package.json'
|
||||
@@ -11,7 +12,9 @@ export default ({ mode, command }) => {
|
||||
// 全局 scss 资源
|
||||
const scssResources = []
|
||||
fs.readdirSync('src/assets/styles/resources').forEach((dirname) => {
|
||||
if (fs.statSync(`src/assets/styles/resources/${dirname}`).isFile()) { scssResources.push(`@use "src/assets/styles/resources/${dirname}" as *;`) }
|
||||
if (fs.statSync(`src/assets/styles/resources/${dirname}`).isFile()) {
|
||||
scssResources.push(`@use "src/assets/styles/resources/${dirname}" as *;`)
|
||||
}
|
||||
})
|
||||
// css 精灵图相关
|
||||
fs.readdirSync('src/assets/sprites').forEach((dirname) => {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import path from 'node:path'
|
||||
import process from 'node:process'
|
||||
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
|
||||
|
||||
export default function createSvgIcon(isBuild) {
|
||||
|
||||
Reference in New Issue
Block a user