xydata-tools
v1.1.17
Published
xydata tools
Readme
鑫义科技前端开发者工具包
内网文档:http://172.16.1.222/craft-page-web/xydata
本地开发
react
在项目根目录执行:
yarn dev在 example 目录下执行:
yarn startexample 是一个由
umi搭建的后台项目,可直接引用xydata-tools内的组件进行预览。新组件可在
/xydata-tools/src/components下进行开发更新。在 src 内的修改操作将会被实时编译到 dist 文件夹中。
uniapp
在项目根目录执行:
yarn dev在 example-uniapp 下运行
yarn link xydata-tools将 example-uniapp 添加到 H-Builder 中运行
打包发布:
npm run prepublishOnly
npm config set registry https://registry.npmjs.org
npm publish -d发布完成后,还原 npm 源(淘宝源):
npm config set registry https://registry.npmmirror.com