A modern project template of fbi which uses Vue.js
and Typescript
.
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+
Create a project
$ cd path/to/workspace
$ fbi init https://github.com/fbi-templates/fbi-project-vue-ts.git new-project
or
$ fbi add https://github.com/fbi-templates/fbi-project-vue-ts.git
$ cd path/to/empty-folder
$ fbi init vue
Show available tasks
$ fbi ls
Run a task
$ fbi <task> [params]
- Description: Compile and start development server.
- Params:
port
{Number}
Server starting port. If occupied, switch automatically.
- Alias:
s
- Examples:
fbi s -port=9999
- Description: Build the project for the specified environment.
- Params:
prod
{Boolean}
(default) Production environment.test
{Boolean}
Test environment.
- Alias:
b
- Examples:
fbi b -t
fbi b -t=true
fbi b -test=true
fbi b --p
- 1.0.0 (2017.12.30)
- Init project template