npm i tina-cli -g
recommend
npx tina-cli create <project-name>
tina create <project-name>
If you want test cli, make sure choose mpa-kit
and then choose 0.0.3
when you use it.
Usage: tina [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
create|c 创建一个项目
addPage|ap 在pages/下创建页面模板,并配置在module-config下
* command not found
help [command] display help for command
Exapmles:
tina create <project-name>
tina addPage <page-name>