{"id":18974927,"url":"https://github.com/lfb/vuejs-admin-template","last_synced_at":"2025-08-07T05:04:11.423Z","repository":{"id":114146907,"uuid":"338778293","full_name":"lfb/vuejs-admin-template","owner":"lfb","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-14T10:22:34.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T14:39:48.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lfb.png","metadata":{"files":{"readme":"README-zh.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-02-14T10:22:33.000Z","updated_at":"2021-02-14T10:22:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"97033709-ddec-4779-85df-873d08877b2a","html_url":"https://github.com/lfb/vuejs-admin-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"PanJiaChen/vue-admin-template","purl":"pkg:github/lfb/vuejs-admin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Fvuejs-admin-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Fvuejs-admin-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Fvuejs-admin-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Fvuejs-admin-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lfb","download_url":"https://codeload.github.com/lfb/vuejs-admin-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lfb%2Fvuejs-admin-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269201296,"owners_count":24377460,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T15:16:44.319Z","updated_at":"2025-08-07T05:04:11.414Z","avatar_url":"https://github.com/lfb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-admin-template\n\n\u003e 这是一个极简的 vue admin 管理后台。它只包含了 Element UI \u0026 axios \u0026 iconfont \u0026 permission control \u0026 lint，这些搭建后台必要的东西。\n\n[线上地址](http://panjiachen.github.io/vue-admin-template)\n\n[国内访问](https://panjiachen.gitee.io/vue-admin-template)\n\n目前版本为 `v4.0+` 基于 `vue-cli` 进行构建，若你想使用旧版本，可以切换分支到[tag/3.11.0](https://github.com/PanJiaChen/vue-admin-template/tree/tag/3.11.0)，它不依赖 `vue-cli`。\n\n## Extra\n\n如果你想要根据用户角色来动态生成侧边栏和 router，你可以使用该分支[permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)\n\n## 相关项目\n\n- [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)\n\n- [electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)\n\n- [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)\n\n- [awesome-project](https://github.com/PanJiaChen/vue-element-admin/issues/2312)\n\n写了一个系列的教程配套文章，如何从零构建后一个完整的后台项目:\n\n- [手摸手，带你用 vue 撸后台 系列一(基础篇)](https://juejin.im/post/59097cd7a22b9d0065fb61d2)\n- [手摸手，带你用 vue 撸后台 系列二(登录权限篇)](https://juejin.im/post/591aa14f570c35006961acac)\n- [手摸手，带你用 vue 撸后台 系列三 (实战篇)](https://juejin.im/post/593121aa0ce4630057f70d35)\n- [手摸手，带你用 vue 撸后台 系列四(vueAdmin 一个极简的后台基础模板,专门针对本项目的文章,算作是一篇文档)](https://juejin.im/post/595b4d776fb9a06bbe7dba56)\n- [手摸手，带你封装一个 vue component](https://segmentfault.com/a/1190000009090836)\n\n## Build Setup\n\n```bash\n# 克隆项目\ngit clone https://github.com/PanJiaChen/vue-admin-template.git\n\n# 进入项目目录\ncd vue-admin-template\n\n# 安装依赖\nnpm install\n\n# 建议不要直接使用 cnpm 安装以来，会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题\nnpm install --registry=https://registry.npm.taobao.org\n\n# 启动服务\nnpm run dev\n```\n\n浏览器访问 [http://localhost:9528](http://localhost:9528)\n\n## 发布\n\n```bash\n# 构建测试环境\nnpm run build:stage\n\n# 构建生产环境\nnpm run build:prod\n```\n\n## 其它\n\n```bash\n# 预览发布环境效果\nnpm run preview\n\n# 预览发布环境效果 + 静态资源分析\nnpm run preview -- --report\n\n# 代码格式检查\nnpm run lint\n\n# 代码格式检查并自动修复\nnpm run lint -- --fix\n```\n\n更多信息请参考 [使用文档](https://panjiachen.github.io/vue-element-admin-site/zh/)\n\n## 购买贴纸\n\n你也可以通过 购买[官方授权的贴纸](https://smallsticker.com/product/vue-element-admin) 的方式来支持 vue-element-admin - 每售出一张贴纸，我们将获得 2 元的捐赠。\n\n## Demo\n\n![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)\n\n## Browsers support\n\nModern browsers and Internet Explorer 10+.\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eIE / Edge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003c/br\u003eSafari |\n| --------- | --------- | --------- | --------- |\n| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions\n\n## License\n\n[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.\n\nCopyright (c) 2017-present PanJiaChen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfb%2Fvuejs-admin-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfb%2Fvuejs-admin-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfb%2Fvuejs-admin-template/lists"}