本项目采用 Electron + React 框架进行开发, 适用于局域网的网站后台管理系统.
- Web端地址: https://github.com/fzcoder/animeisland-web
- 服务端地址: https://github.com/fzcoder/animeisland-server
git clone [email protected]:fzcoder/animeisland-admin.git
npm install
在项目根目录下找到.env.development
和.env.production
, 根据实际情况修改以下内容:
REACT_APP_SERVER_BASE_URL=http://{your_server_host}:{port}/api
npm start
npm run electron-dev
npm run build
输入指令之后会在项目根目录下./build
中找到打包的内容
npm run package
输入指令之后会在项目根目录下./out
中找到打包的内容