erp-feige-baisheng
v0.0.1
Published
## erp 插件
Downloads
4
Readme
erp-plugin-items
erp 插件
必备环境
非第一次开发可跳过
安装 yalc 用来管理 npm 流程
# yalc 可以在本地将npm包模拟发布,将发布后的资源存放在一个全局存储中。然后可以通过yalc将包添加进需要引用的项目中。
# NPM:
npm i yalc -g
安装 nodemon 来解放双手
npm i -g nodemon
安装本项目依赖
npm install # 安装项目依赖
本项目启动
npm watch # 由 nodemon 接管更新
飞鸽相关文档
到飞鸽容器联调
yalc link erp-feige-item # 链接包
npm run start # 启动容器项目
联调网站:飞鸽网页端
飞鸽客户端下载地址:客户端 (注: 暂时不支持使用客户端联调)
发布
npm run pub # 将本项目发布到 npm
yalc
工作流程
利用发布系统发布成 WEB 服务
- example 目录存放了一个 React 项目, 作为容器承载插件
cd example
npm run build