1.2.17 • Published 5 years ago
hzero-react-scripts v1.2.17
hzero-cli
Description
The Hzero CLI is a command-line interface tool that helps you to initialize, develop, and maintain your Hzero applications. Read more here.
Installation
$ npm install -g hzero-cli --registry http://nexus.saas.hand-china.com/content/groups/hzero-npm-group
$ hzero-cli new sample
Usage
$ hzero-cli --help
查看 Hzero 模块 信息 (在主目录下运行命令)
$ hzero-cli info
创建子模块 (在主目录下运行命令)
$ hzero-cli g sub-module module1
升级 Hzero 模块 (在主目录下运行命令)
$ hzero-cli update
增量编译子模块到主目录 (在子模块目录下运行)
$ yarn build:ms
运行之后主目录会生成
dist/packages/xxxx
子模块 dist 资源文件, xxx 为子模块名。
Learn more in the official documentation.