feat: 适配5.x后端,重构前端架构
主要变更: 1. 重构API目录结构,采用模块化设计,适配5.x后端接口规范 2. 优化布局组件,提升用户界面体验 3. 增强国际化支持,完善多语言配置 4. 新增权限控制功能,支持前端路由权限管理 5. 优化认证流程,支持JWT认证机制 6. 新增中间件和插件,提升系统扩展性 7. 优化状态管理,采用更清晰的模块化设计 8. 新增搜索框、广告等组件,丰富页面功能 9. 更改包管理工具从npm到pnpm,提升依赖管理效率 10. 完善配置系统,支持多环境配置 适配5.x后端特性: - 采用新的API接口规范 - 支持JWT认证机制 - 适配后端权限控制体系 - 支持后端国际化接口 - 优化数据交互方式
This commit is contained in:
+74
-68
@@ -1,70 +1,76 @@
|
||||
{
|
||||
"name": "element-plus-nuxt-starter",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"version": "0.1.0",
|
||||
"description": "Element Plus with Nuxt 3 Minimal Starter",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/element-plus/element-plus-nuxt-starter"
|
||||
},
|
||||
"author": "Element Plus Team",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"dev": "nuxi dev",
|
||||
"build": "nuxi build",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"preview": "nuxi preview",
|
||||
"start": "node .output/server/index.mjs",
|
||||
"generate": "nuxi generate",
|
||||
"prepare": "nuxi prepare",
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"element-plus": "^2.10.5",
|
||||
"font-awesome": "4.7.0",
|
||||
"lodash-es": "4.17.21",
|
||||
"magicast": "0.3.5",
|
||||
"nprogress": "0.2.0",
|
||||
"nuxt-icons": "^4.0.0",
|
||||
"pinia-plugin-persistedstate": "^4.7.1",
|
||||
"qrcode": "^1.5.4",
|
||||
"qs": "^6.14.1",
|
||||
"vue-i18n": "^11.2.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@element-plus/nuxt": "^1.1.4",
|
||||
"@iconify-json/ri": "^1.2.5",
|
||||
"@nuxt/eslint": "^1.7.1",
|
||||
"@nuxtjs/color-mode": "^3.5.2",
|
||||
"@pinia/nuxt": "^0.11.2",
|
||||
"@types/nprogress": "0.2.3",
|
||||
"@types/qrcode": "^1.5.6",
|
||||
"@types/qs": "^6.14.0",
|
||||
"@unocss/nuxt": "^66.4.0",
|
||||
"@vueuse/nuxt": "^13.6.0",
|
||||
"consola": "^3.4.2",
|
||||
"eslint": "^9.32.0",
|
||||
"nuxt": "^4.2.0",
|
||||
"sass": "^1.89.2",
|
||||
"typescript": "^5.9.2",
|
||||
"vite-tsconfig-paths": "^6.0.4",
|
||||
"vue-tsc": "^3.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"pinia": "^2.1.6"
|
||||
},
|
||||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
"ignoreMissing": [
|
||||
"webpack",
|
||||
"vite",
|
||||
"vue"
|
||||
]
|
||||
"name": "element-plus-nuxt-starter",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.14.0",
|
||||
"version": "0.1.0",
|
||||
"description": "Element Plus with Nuxt 3 Minimal Starter",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/element-plus/element-plus-nuxt-starter"
|
||||
},
|
||||
"author": "Element Plus Team",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"preinstall": "npx only-allow pnpm",
|
||||
"dev": "nuxi dev",
|
||||
"build": "nuxi build",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"preview": "nuxi preview",
|
||||
"start": "node .output/server/index.mjs",
|
||||
"generate": "nuxi generate",
|
||||
"prepare": "nuxi prepare",
|
||||
"typecheck": "vue-tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^2.3.1",
|
||||
"@iconify/vue": "^5.0.0",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"element-plus": "^2.10.5",
|
||||
"font-awesome": "4.7.0",
|
||||
"lodash-es": "4.17.21",
|
||||
"magicast": "0.3.5",
|
||||
"md-editor-v3": "^5.1.1",
|
||||
"nprogress": "0.2.0",
|
||||
"nuxt-icons": "^4.0.0",
|
||||
"pinia-plugin-persistedstate": "^4.7.1",
|
||||
"qrcode": "^1.5.4",
|
||||
"qs": "^6.14.1",
|
||||
"vue-i18n": "^11.2.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@element-plus/nuxt": "^1.1.4",
|
||||
"@iconify-json/ri": "^1.2.5",
|
||||
"@nuxt/eslint": "^1.7.1",
|
||||
"@nuxtjs/color-mode": "^3.5.2",
|
||||
"@oxc-minify/binding-win32-x64-msvc": "^0.111.0",
|
||||
"@oxc-parser/binding-win32-x64-msvc": "^0.111.0",
|
||||
"@oxc-transform/binding-win32-x64-msvc": "^0.111.0",
|
||||
"@pinia/nuxt": "^0.11.2",
|
||||
"@types/nprogress": "0.2.3",
|
||||
"@types/qrcode": "^1.5.6",
|
||||
"@types/qs": "^6.14.0",
|
||||
"@unocss/nuxt": "^66.4.0",
|
||||
"@vueuse/nuxt": "^13.6.0",
|
||||
"consola": "^3.4.2",
|
||||
"eslint": "^9.32.0",
|
||||
"nuxt": "^4.2.0",
|
||||
"sass": "^1.89.2",
|
||||
"typescript": "^5.9.2",
|
||||
"vite-tsconfig-paths": "^6.0.4",
|
||||
"vue-tsc": "^3.0.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"pinia": "^2.1.6"
|
||||
},
|
||||
"pnpm": {
|
||||
"peerDependencyRules": {
|
||||
"ignoreMissing": [
|
||||
"webpack",
|
||||
"vite",
|
||||
"vue"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user