quickly-create-miniapp-page
快速创建小程序页面
Install
$ npm i -g quickly-create-miniapp-page
Usage
Default create page for typescript
$ qcmp pages/home/home # create four files for page/home/home.{ts, json, wxml, wxss}
Create page for javascript
$ qcmp pages/java/script -s js # -s abbreviate from --script
Create multiple pages
$ qcmp pages/first/page pages/another/page
For my colleagues
$ qcmp --th pages/suit/page