鲁班H5: https://github.com/ly525/luban-h5
搭建环境 win10系统、node12.20.0、npm6.14.8
git clone https://github.com/ly525/luban-h5
cd luban-h5 # 项目根目录
# 后端
cd back-end/h5-api && yarn && yarn dev
# 前端
# 新开一个终端,在项目根目录执行如下命令
cd front-end/h5 && yarn && yarn build:engine && yarn dev
# 启动项目访问 http://localhost:1337 即可
本地开发,如果后端接口报错 403 Forbidden,请按照下图的操作,打开接口的访问权限接口:[Roles And Permission] -> [Public] - [Permissions]