npm i -g yo bower generator-act
npm i -g scrat fis-prepackager-i18n fis-prepackager-browserify
mkdir my-project
cd my-project
yo act
yo act:view <viewName>
其中 viewName
为页面名
yo act:config <configKey> [configValue]
其中 configKey
为配置名,configValue
为配置值。
yo act:cmp new <componentName>
或者可以简写为
yo act:cmp n <componentName>
yo act:cmp install <componentName>
或者可以简写为
yo act:cmp i <componentName>
yo act:i18n <language>
其中 language
为语言名称,如 en
,ru
等
yo act:v
MIT