A weapp project template, base on 'mpvue' and 'weui-wxss' UI framework.
This is a fbi project template. If you haven't installed fbi yet, use the following command to install.
$ npm i -g fbi
oryarn global add fbi
fbi v3.0+
node v7.6+
Add template
$ fbi add https://github.com/fbi-templates/fbi-project-weapp.git
Create a project
$ cd path/to/empty-folder
$ fbi init -o weapp
# or
$ fbi init -o weapp my-app
Show available tasks
$ fbi ls
Run a task
# �start development server
$ fbi s
# build for production
$ fbi b
Update template
$ fbi up weapp
- Description: Compile and start development server.
- Params:
port
{Number}
Server starting port. If occupied, switch automatically.
- Alias:
s
- Examples:
fbi s
fbi s -port=9999
- Description: Build the project for the specified environment.
- Alias:
b
- Examples:
fbi b