{"id":14973675,"url":"https://github.com/lanux/vue-admin","last_synced_at":"2025-05-16T13:06:33.794Z","repository":{"id":41271491,"uuid":"89670974","full_name":"lanux/Vue-Admin","owner":"lanux","description":"基于Vue2、element ui、vue-cli、vuex、vue-router、axios 、echarts后台管理系统demo. 权限管理，用户管理，菜单管理。无限级菜单，下拉树形选择框","archived":false,"fork":false,"pushed_at":"2017-11-27T00:44:42.000Z","size":11359,"stargazers_count":1322,"open_issues_count":15,"forks_count":416,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-04-12T09:19:10.618Z","etag":null,"topics":["axios","echarts","element-ui","npm","vue","vue-admin","vue-cli","vue-loader","vue-progressbar","vue-router","vue-router-sync","vue2","vueadmin","vuejs","vuex","webpack2"],"latest_commit_sha":null,"homepage":"https://lanux.github.io/Vue-Admin/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lanux.png","metadata":{"files":{"readme":"README.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}},"created_at":"2017-04-28T05:33:21.000Z","updated_at":"2025-04-05T11:22:54.000Z","dependencies_parsed_at":"2022-08-02T23:15:25.350Z","dependency_job_id":null,"html_url":"https://github.com/lanux/Vue-Admin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanux%2FVue-Admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanux%2FVue-Admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanux%2FVue-Admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lanux%2FVue-Admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lanux","download_url":"https://codeload.github.com/lanux/Vue-Admin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254535828,"owners_count":22087399,"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":["axios","echarts","element-ui","npm","vue","vue-admin","vue-cli","vue-loader","vue-progressbar","vue-router","vue-router-sync","vue2","vueadmin","vuejs","vuex","webpack2"],"created_at":"2024-09-24T13:49:12.715Z","updated_at":"2025-05-16T13:06:33.737Z","avatar_url":"https://github.com/lanux.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e友情链接：[**【react-admin】**](https://github.com/lanux/react-admin)持续更新 [演示地址](https://lanux.github.io/react-admin/)\n\n[演示地址](https://lanux.github.io/Vue-Admin/ \"Vue-Admin\")\n\u003e账号密码任意\n\n## Build Setup\n``` bash\nnpm install\n\n# 修改文件内容/build/webpack.base.conf.js，将element-ui和vuex-router-sync版本替换成install后node_modules目录中当前版本，注意不能用软链\n#      {\n#        test: /\\.js$/,\n#        loader: 'babel-loader',\n#        //exclude: /(node_modules|bower_components)/,\n#        // 注意elementUI的源码使用ES6需要解析\n#        include: [\n#          resolve('src'),\n#          resolve('test'),\n#          resolve('/node_modules/.1.4.8@element-ui/src'),\n#          resolve('/node_modules/.1.4.8@element-ui/packages'),\n#          resolve('/node_modules/.4.3.0@vuex-router-sync')\n#        ]\n#      },\n\n\n# serve with hot reload at localhost:9000\nnpm run dev\nnpm run build\n\nnpm run mock\n```\n\n1. **启动mock服务**\nnpm run mock\n2. **启动dev server**\nnpm run dev\n\n\n- #### 打包发布,修改根路径名\n1. 修改 **[./Vue-Admin/config/index.js](https://github.com/lanux/Vue-Admin/blob/master/config/index.js)**   参数:build.assetsPublicPath\n```javascript\n//eg.  assetsPublicPath: '/Vue-Admin/'\nassetsPublicPath: 'Your path name';\n```\n2. 修改 **[./Vue-Admin/src/api.js](https://github.com/lanux/Vue-Admin/blob/master/src/api.js)**\n```javascript\n// export const CONTEXT = './Vue-Admin';\nexport const CONTEXT = 'Your path name';\n```\n\n\n```\ncnpm i json-server -D\ncnpm i json-server -S\nnpm outdated：检查包是否已经过时，此命令会列出所有已经过时的包，可以及时进行包的更新\nnpm update moduleName：更新node模块\nnpm uninstall moudleName：卸载node模块\n\n```\n\n## 页面截图\n\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/login.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/cmenu.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/dash.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/dash2.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/menu.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/menu2.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/menu5.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/resource.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/role.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/role4.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/user.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/user2.png?t=1\" /\u003e\u003c/p\u003e\n\u003cp\u003e\u003cimg src=\"https://raw.githubusercontent.com/lanux/Vue-Admin/master/static/data/mobile.png?t=1\" /\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanux%2Fvue-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanux%2Fvue-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanux%2Fvue-admin/lists"}