{"id":21067040,"url":"https://github.com/zclzone/vue-naive-admin-docs","last_synced_at":"2026-03-19T18:41:30.327Z","repository":{"id":108039658,"uuid":"478056031","full_name":"zclzone/vue-naive-admin-docs","owner":"zclzone","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-09T09:15:00.000Z","size":476,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-20T21:14:51.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zclzone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-05T09:20:27.000Z","updated_at":"2022-04-05T09:20:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d8578ca-7d6e-4f17-b841-4776f5222387","html_url":"https://github.com/zclzone/vue-naive-admin-docs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zclzone%2Fvue-naive-admin-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zclzone%2Fvue-naive-admin-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zclzone%2Fvue-naive-admin-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zclzone%2Fvue-naive-admin-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zclzone","download_url":"https://codeload.github.com/zclzone/vue-naive-admin-docs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510126,"owners_count":20302294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:02:24.935Z","updated_at":"2026-01-02T06:06:33.307Z","avatar_url":"https://github.com/zclzone.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"### 简介\r\n\r\n[Vue Naive Admin](https://github.com/zclzone/vue-naive-admin)，一个基于 Vue3.0、Vite、Naive UI 的后台管理模板，相较于其他比较流行的后台管理模板，此项目相对简洁、轻量，学习成本非常低，对新手极其友好。不过麻雀虽小五脏俱全，权限、Mock、菜单、axios 封装、pinia、项目配置、样式配置、环境配置，以及一些经常用的基础组件封装等等这些该有的都有，非常适用于中小型项目或者个人项目，也可此模板进行二次封装改造用于大型项目。\r\n\r\n### 为什么要开发这个模板\r\n\r\n- Vue3 和 Vite 已经趋于成熟，学习 vite 和 vue3 非常有必要，通过开发模板进行学习是一个很好的方式，事实也证明我确实从中获益良多\r\n- 目前主流的 Vue3+Vite 后台管理模板都相对复杂，甚至感觉有点花里胡哨（没有贬低的意思，大部分的架构设计都很优秀，只是觉得集成了太多不实用的东西）\r\n\r\n### 功能\r\n\r\n- 🍒 集成 Naive UI，尤大推荐的 UI 组件库，[https://www.naiveui.com](https://www.naiveui.com)\r\n- 🍑 集成登陆、注销及权限验证\r\n- 🍐 集成多环境配置，dev、测试、预发布和生产\r\n- 🍎 集成 Eslint + Prettier，代码约束和格式化统一\r\n- 🍉 集成 Mock 接口服务，dev 环境和发布环境都支持，可动态配置是否启用 mock 服务，不启用时不会加载 mock 包，减少打包体积\r\n- 🍇 集成 unocss，antfu 大神开源的原子化 css 解决方案，非常轻量，目前我是自己写 scss 样式搭配着 unocss 使用的\r\n- 🍍 集成 Pinia，Vuex 的替代方案，轻量、简单、易用（尤大已表示不会有Vuex5，或者说pinia就是Vuex5）\r\n- 📦 集成 Vite 自动导入插件unplugin-vue-components，解放双手，开发效率直接起飞\r\n- 🍏 二次封装 Axios，支持多 axios 实例，支持线上环境免重新打包修改 baseURL\r\n- 🍌 二次封装全局 Dialog、Message、LoadingBar 组件\r\n- 🍋 二次封装 localStorage 和 sessionStorage，支持设置过期时间\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzclzone%2Fvue-naive-admin-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzclzone%2Fvue-naive-admin-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzclzone%2Fvue-naive-admin-docs/lists"}