0.0.7 • Published 3 years ago
faw-mobile-tools v0.0.7
faw-mobile-tools
介绍
是一款快速初始化 H5 工程自动化工具。
安装
$ npm install faw-mobile-tools -g
$ mkdir app && cd app
$ faw-mobile-tools init
稍等片刻安装结束后,输入下面命令来确定是否安装成功:
$ faw-mobile-tools
Usage :
1. faw-mobile-tools init 初始化项目
2. faw-mobile-tools h 帮助
3. faw-mobile-tools v 版本查询
OK,到此成功。
使用
- 如何使用前端集成工具
faw-mobile-tools
来快速创建一个应用组件:
$ cd app
$ faw-mobile-tools init
- 启动开发服务.
$ npm run start
api
项目根目录,使用以下命令完成对应功能。
命令会有延时,请耐心等待。
# | Scripts 脚本命令 | Description 功能描述 |
---|---|---|
1 | faw-mobile-tools h | api 查询 |
2 | faw-mobile-tools v | 版本查询 |
3 | faw-mobile-tools init | 下载模板项目 |