xadmin-基于 Django+vue3 的 rbac 权限管理系统
基于 vue-pure-admin 二次开发
Django 做后端服务 xadmin-server
https://xadmin.dvcloud.xin/ 账号密码:admin/admin123
修改 api 配置文件.env.production
,将 api 域名修改为自己服务器,然后进行构建
docker compose up xadmin-client-build
docker compose up xadmin-client-prod
然后浏览器 http://localhost:8891 进行访问
proxy: {
"/api": {
target: "http://127.0.0.1:8896",
changeOrigin: true,
rewrite: path => path
},
"/media": {
target: "http://127.0.0.1:8896",
changeOrigin: true,
rewrite: path => path
},
"/ws": {
target: "ws://127.0.0.1:8896"
},
"/api-docs": {
target: "http://127.0.0.1:8896",
changeOrigin: true,
rewrite: path => path
}
},