{"id":20322701,"url":"https://github.com/asasugar/vite-element-plus-admin","last_synced_at":"2026-03-07T22:07:57.560Z","repository":{"id":123141058,"uuid":"448789290","full_name":"asasugar/vite-element-plus-admin","owner":"asasugar","description":"🔥  Vue 3.0 + Vite 2.0 + Pinia 2.0 + Vue-Router 4.0 + Element-Plus +  Axios 开发的后台管理系统","archived":false,"fork":false,"pushed_at":"2025-01-13T08:47:49.000Z","size":4400,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T19:23:11.417Z","etag":null,"topics":["admin","axios","element-plus","javascript","less","pinia","typescript","vite2","vue","vue-admin","vue-router4","vue3","vue3-typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/asasugar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-01-17T07:11:52.000Z","updated_at":"2025-01-13T08:47:52.000Z","dependencies_parsed_at":"2024-01-02T03:29:21.775Z","dependency_job_id":"1b01695e-3569-4b5c-811d-996dca0b68e3","html_url":"https://github.com/asasugar/vite-element-plus-admin","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/asasugar/vite-element-plus-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasugar%2Fvite-element-plus-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasugar%2Fvite-element-plus-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasugar%2Fvite-element-plus-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasugar%2Fvite-element-plus-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asasugar","download_url":"https://codeload.github.com/asasugar/vite-element-plus-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asasugar%2Fvite-element-plus-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30233432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["admin","axios","element-plus","javascript","less","pinia","typescript","vite2","vue","vue-admin","vue-router4","vue3","vue3-typescript"],"created_at":"2024-11-14T19:24:20.904Z","updated_at":"2026-03-07T22:07:57.539Z","avatar_url":"https://github.com/asasugar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vite-element-plus-admin\n\n🔥 🎉 Vue 3.0 + Vite 2.0 + Pinia 2.0 + Vue-Router 4.0 + Element-Plus + Axios 开发的后台管理系统\n\n# 静态站点\n\n[Github Pages](https://asasugar.github.io/vite-element-plus-admin/)\n\n# 环境配置\n\n- Vite 需要 Node.js 版本 \u003e= 12.2.0。\n- 推荐 `vscode` + `volar` , 禁用 `vuter`\n\n# Run Project\n\n## 安装依赖\n\n```bish\npnpm install\n```\n\n## 添加 husky hooks\n\n```bish\nAdd a hook:\nnpx husky add .husky/pre-commit \"pnpm lint-staged\"\ngit add .husky/pre-commit\n```\n\n## 运行\n\n```bish\npnpm dev\n```\n\n该版本的 Vuex 在 setup 中使用 map\\*辅助函数，用法，详见[#issues1725](https://github.com/vuejs/vuex/issues/1725)\n\n辅助函数`已经提取成npm包`[npm 地址](https://www.npmjs.com/package/vuex-composition-maphooks), 文档详看[github 地址](https://github.com/asasugar/vuex-composition-maphooks)，**推荐使用[pinia](https://github.com/vuejs/pinia#readme)(真香)**\n\n# 部分页面效果\n\n![2022-03-23 14.04.43](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.04.43.gif)\n\n![2022-03-23 14.09.04](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.09.04.gif)\n\n![2022-03-23 14.20.19](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.20.19.gif)\n\n![2022-03-23 14.19.45](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.19.45.gif)\n\n![2022-03-23 14.10.49](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.10.49.gif)\n\n![2022-03-23 14.12.02](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-03-23%2014.12.02.gif)\n\n![2022-05-10 10.05.15](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-05-10%2010.05.15.gif)\n\n![2022-05-10 10.05.53](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-05-10%2010.05.53.gif)\n\n![2022-05-10 10.08.30](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-05-10%2010.08.30.gif)\n\n![2022-05-10 10.08.50](https://raw.githubusercontent.com/asasugar/pic-bed/master/imgs/2022-05-10%2010.08.50.gif)\n\n# 特别感谢\n\n- vue@3\n- vite@3\n- pinia@^2.0.13\n- vue-router@4\n- element-plus@2\n- vue-vben-admin(UI 参考)\n\n不定时使用 npm-check-updates 更新最新依赖\n\n# 注意事项\n\n- `Node` 版本 \u003e= 12.2.0\n- `vite@2.9.0` 之前的版本，dev 模式下识别到新的依赖会`reload page`, 可结合[vite-plugin-optimize-persist](https://github.com/antfu/vite-plugin-optimize-persist)插件解决，\u003e= 2.9.0 的不需要！\n- Vue 3 版本状态管理推荐使用 `pinia`，api 友好许多, 非要用的话结合 [vuex-composition-maphooks](https://www.npmjs.com/package/vuex-composition-maphooks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasasugar%2Fvite-element-plus-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasasugar%2Fvite-element-plus-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasasugar%2Fvite-element-plus-admin/lists"}