1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

Compare commits

...

4 Commits

Author SHA1 Message Date
zclzone
87dce667cf docs: update README 2024-05-24 18:03:42 +08:00
zclzone
ea440e48bd chore: update deps 2024-05-17 09:49:13 +08:00
zclzone
0ac55503b7 refactor: 设置主题色样式 2024-05-12 14:01:35 +08:00
zclzone
769fd86d30 chore: 删除无用依赖 2024-05-12 13:55:54 +08:00
4 changed files with 607 additions and 892 deletions

View File

@ -48,8 +48,6 @@ Vue Naive Admin 2022年2月开始开源从 1.0 到现在的 2.0,一直秉
Vue Naive Admin 提供一套后端代码,技术栈使用 Nestjs + TypeOrm + MySql内置 JWT、RABC及模板所需的一些基础接口。
*后续可能会提供 Java 版和 Go 版的,但由于精力有限,欢迎感兴趣的大佬基于前端提供对接好的后端项目,当然,并不局限于 Java 和 Go已对接的后端项目会展示到仓库的 README 和 官方文档中*
- 源码-github: [isme-nest-serve | github](https://github.com/zclzone/isme-nest-serve)
- 源码-gitee: [isme-nest-serve | gitee](https://gitee.com/isme-admin/isme-nest-serve)
@ -59,6 +57,11 @@ Vue Naive Admin 提供一套后端代码,技术栈使用 Nestjs + TypeOrm + My
- 项目文档: [docs | vue-naive-admin](https://docs.isme.top/web/#/624306705/188522224)
- 接口文档: [apidoc | isme-nest-serve](https://apifox.com/apidoc/shared-ff4a4d32-c0d1-4caf-b0ee-6abc130f734a)
> 注:有个比较常见的问题,就是如何添加菜单和修改菜单,由于项目是由后端控制菜单资源的,所以需要对接后端后在资源管理功能对菜单进行增删改,然后在角色管理功能给对应角色进行授权。具体如何对接后端,请参考 [项目文档](https://docs.isme.top/web/#/624306705/188522224)。当然,可能有些菜单你不想通过权限控制,那么你可以在 `/src/settings.js` 文件添加 basePermissions只需对齐菜单资源的结构即可结构可以参照 [接口文档](https://apifox.com/apidoc/shared-ff4a4d32-c0d1-4caf-b0ee-6abc130f734a/api-134536978)。
## 使用这个模板创建Github仓库
[使用这个模板创建仓库](https://github.com/antfu/vitesse-lite/generate).
## 版权说明

View File

@ -10,40 +10,39 @@
"lint:fix": "eslint --fix --ext .js,.vue ."
},
"dependencies": {
"@ant-design/colors": "^7.0.2",
"@arco-design/color": "^0.4.0",
"@vueuse/core": "^10.9.0",
"axios": "^1.6.8",
"dayjs": "^1.11.10",
"dayjs": "^1.11.11",
"echarts": "^5.5.0",
"lodash-es": "^4.17.21",
"naive-ui": "^2.38.1",
"naive-ui": "^2.38.2",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.23",
"vue-echarts": "^6.7.0",
"vue": "^3.4.27",
"vue-echarts": "^6.7.2",
"vue-router": "^4.3.2",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@iconify/json": "^2.2.203",
"@iconify/json": "^2.2.210",
"@iconify/utils": "^2.1.23",
"@unocss/eslint-config": "^0.58.5",
"@unocss/eslint-config": "^0.58.9",
"@unocss/preset-rem-to-px": "^0.59.4",
"@vitejs/plugin-vue": "^5.0.4",
"@zclzone/eslint-config": "^0.0.5",
"esno": "^4.7.0",
"fs-extra": "^11.2.0",
"glob": "^10.3.12",
"glob": "^10.3.15",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.75.0",
"sass": "^1.77.1",
"unocss": "^0.59.4",
"unplugin-auto-import": "^0.17.5",
"unplugin-auto-import": "^0.17.6",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.2.10",
"vite": "^5.2.11",
"vite-plugin-router-warn": "^1.0.0",
"vite-plugin-simple-html": "^0.1.2",
"vite-plugin-vue-devtools": "^7.1.2"
"vite-plugin-vue-devtools": "^7.2.0"
},
"eslintConfig": {
"extends": [

1466
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -2,10 +2,11 @@
<n-tooltip trigger="hover">
<template #trigger>
<n-color-picker
class="mr-16 h-40 w-80"
class="mr-16 h-32 w-32"
:value="appStore.primaryColor"
:swatches="primaryColors"
:on-update:value="(v) => appStore.setPrimaryColor(v)"
:render-label="() => ''"
/>
</template>
设置主题色