Skip to content

xadmin-基于Django+vue3的rbac权限管理系统

License

Notifications You must be signed in to change notification settings

trajectoryend/xadmin-client

 
 

Repository files navigation

xadmin-client

xadmin-基于 Django+vue3 的 rbac 权限管理系统

基于 vue-pure-admin 二次开发

Django 做后端服务 xadmin-server

在线预览

https://xadmin.dvcloud.xin/ 账号密码:admin/admin123

docker 构建

修改 api 配置文件.env.production,将 api 域名修改为自己服务器,然后进行构建

docker compose up xadmin-client-build

docker 启动

docker compose up xadmin-client-prod

然后浏览器 http://localhost:8891 进行访问

本地开发运行,记得在vite.config.ts 添加proxy代理,要不然无法访问api服务

      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
        }
      },

About

xadmin-基于Django+vue3的rbac权限管理系统

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 55.1%
  • Vue 38.9%
  • SCSS 3.8%
  • CSS 1.0%
  • JavaScript 0.9%
  • HTML 0.2%
  • Other 0.1%