Skip to content

基于vueadmin增加动态获取菜单渲染,修改权限,增加mock模拟数据,去除eslint

Notifications You must be signed in to change notification settings

lininn/vue-admin-

Repository files navigation

vue-admin-permission

项目基于vue-cli3.0进行搭建,并使用了vue全家桶vue vuex axios vue-router elementui,增加了按钮级别的权限控制

Project setup(安装包)

这里需要使用npm进行安装,如果用cnpm或者yarn会有热更新失效的问题
npm install

npm run start

Compiles and hot-reloads for development(运行项目)


npm run serve:randy  

Compiles and minifies for production(打包)

如果是首次打包或者第三方库文件发生变更,则需要先运行 npm run dll,用于抽离第三方库如vue vuex axios element-ui,此后直接运行npm run build即可

npm run build

analyze your items (项目模块分析)

npm run analyze

温馨提示

在新增vue页面的时候,热更新可能会失效,重启一下项目

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Run your unit tests

yarn run test:unit

Customize configuration

See Configuration Reference.

About

基于vueadmin增加动态获取菜单渲染,修改权限,增加mock模拟数据,去除eslint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published