- Get the project code
git clone https://github.com/fzlintg/light-admin
- Install dependencies
cd light-admin
pnpm install
- run
pnpm serve
- build
pnpm build
- docker
docker build -t light-admin .
Use environment variables to achieve differentiated container deployment. Specify service endpoint by assigning VG_BASE_URL
. In the following example, http://localhost:3333
is used as the back-end service address and the container is mapped to port 6666
:
docker run --name light-admin -d -p 6666:80 -e VG_BASE_URL=http://localhost:3333 light-admin
Then you can navigate to http://localhost:6666
本项目是来源于vben-vue-admin,并做了大量的修改,特别是可视化表单,把几乎所有的组件都进行了可视化,并设计了一个非常完美通用的组件化架构,把vxe-table和echarts进行任意的模板化配置。 后端部分暂未开源,因此前端代码功能可能会不完整。