diff --git a/.env.pro b/.env.pro index 27c53af..aa56fbc 100644 --- a/.env.pro +++ b/.env.pro @@ -5,7 +5,7 @@ NODE_ENV = production VITE_API_BASEPATH = pro # 打包路径 -VITE_BASE_PATH = /butterfly-admin/ +VITE_BASE_PATH = / # 是否删除debugger VITE_DROP_DEBUGGER = true diff --git a/.pnpm-debug.log b/.pnpm-debug.log index 07506e2..4f43b7b 100644 --- a/.pnpm-debug.log +++ b/.pnpm-debug.log @@ -5,15 +5,15 @@ "1 error pnpm": { "errno": 1, "code": "ELIFECYCLE", - "pkgid": "butterfly-admin@3.0.0", + "pkgid": "element-plus-admin@3.0.0", "stage": "clean", "script": "npx rimraf docs/node_modules && npx rimraf node_modules", - "pkgname": "butterfly-admin", + "pkgname": "element-plus-admin", "err": { "name": "pnpm", - "message": "butterfly-admin@3.0.0 clean: `npx rimraf docs/node_modules && npx rimraf node_modules`\nExit status 1", + "message": "element-plus-admin@3.0.0 clean: `npx rimraf docs/node_modules && npx rimraf node_modules`\nExit status 1", "code": "ELIFECYCLE", - "stack": "pnpm: butterfly-admin@3.0.0 clean: `npx rimraf docs/node_modules && npx rimraf node_modules`\nExit status 1\n at EventEmitter. (C:\\Users\\admin\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\registry.npmmirror.com+pnpm@6.25.1\\node_modules\\pnpm\\dist\\pnpm.cjs:104843:20)\n at EventEmitter.emit (events.js:315:20)\n at ChildProcess. (C:\\Users\\admin\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\registry.npmmirror.com+pnpm@6.25.1\\node_modules\\pnpm\\dist\\pnpm.cjs:91921:18)\n at ChildProcess.emit (events.js:315:20)\n at maybeClose (internal/child_process.js:1048:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)" + "stack": "pnpm: element-plus-admin@3.0.0 clean: `npx rimraf docs/node_modules && npx rimraf node_modules`\nExit status 1\n at EventEmitter. (C:\\Users\\admin\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\registry.npmmirror.com+pnpm@6.25.1\\node_modules\\pnpm\\dist\\pnpm.cjs:104843:20)\n at EventEmitter.emit (events.js:315:20)\n at ChildProcess. (C:\\Users\\admin\\AppData\\Roaming\\npm\\pnpm-global\\5\\node_modules\\.pnpm\\registry.npmmirror.com+pnpm@6.25.1\\node_modules\\pnpm\\dist\\pnpm.cjs:91921:18)\n at ChildProcess.emit (events.js:315:20)\n at maybeClose (internal/child_process.js:1048:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)" } }, "2 warn pnpm:global": " Local package.json exists, but node_modules missing, did you mean to install?" diff --git a/index.html b/index.html index bf7ebbe..2c2140f 100644 --- a/index.html +++ b/index.html @@ -128,7 +128,7 @@
-
butterfly-admin
+
element-plus-admin
diff --git a/package.json b/package.json index 245ac72..70bdcd6 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "butterfly-admin", + "name": "element-plus-admin", "version": "3.0.0", "description": "一套基于vue、element-plus、typesScript、vite的后台集成方案", "author": "Archer <502431556@qq.com>", diff --git a/src/config/app.ts b/src/config/app.ts index adc8cb2..b9c6e7f 100644 --- a/src/config/app.ts +++ b/src/config/app.ts @@ -48,7 +48,7 @@ export const appModules: AppState = { userInfo: 'userInfo', // 登录信息存储字段-建议每个项目换一个字段,避免与其他项目冲突 sizeMap: ['default', 'large', 'small'], mobile: false, // 是否是移动端 - title: 'ButterflyAdmin', // 标题 + title: 'ElementAdmin', // 标题 pageLoading: false, // 路由跳转loading breadcrumb: true, // 面包屑