vfe-cli v1.4.17
vfe-cli
vfe-cli is command-line interface for vfe
Usage
Install cli
npm install vfe-cli -g
Init project using vfe-template
vfe init [template]
Note: Using proxy option,
vfe init -p $proxy
. Such asvfe init -p tx
. See $tx
vfe init support 3 types template:
- default An simple boilerplate that using vfe as component builder only.
- client The boilerplate is appropriate for client-side render project. It use Zect as components framework.
- node The boilerplate is appropriate for server-side render project. It use Real and comps.
- spa The boilerplate is appropriate for that project which using client-side render and hash router without reloading. Components framework use Zect and router use Routed.
- autonode Autonode template.
Run default build task
vfe
Start develop watcher
vfe start
## aliase
vfe s
Note: Start command support run with another task name, such as
vfe start sometask
, only if task name isstart-sometask
.
Releasing for production
vfe release
## aliase
vfe r
Note: Release command support run with another task name, such as
vfe release sometask
, only if task name isrelease-sometask
.
License
MIT.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago