thinkPHP-vue-admin thinkPHP + vue + element + 权限管理 + 菜单自定义解决方案
在线地址: http://v-web.surest.cn/
账号: admin
密码: admin123
后台 api 地址
https://github.com/surest-sky/think-vue-admin-api
权限管理后台来自:
https://github.com/PanJiaChen/vue-element-admin
安装
git clone https://github.com/surest-sky/thinkPHP-vue-admin.git
cd thinkPHP-vue-admin
yarn install (推荐)
或者
npm install
配置后端:
见: https://github.com/surest-sky/think-vue-admin-api
配置 vue.config.js
设置跨域地址
npm run dev
如果打包的话, 见
src/utils/request.js
修改环境的请求地址即可
# 打包命令
npm run build:prod
效果图 :
- 仪表盘
- table相关
- 权限管理
- 角色管理
- 代码相关