vfe-cli

1.4.17 • Public • Published

vfe-cli

npm version

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 as vfe 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 is start-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 is release-sometask.

License

MIT.

Readme

Keywords

Package Sidebar

Install

npm i vfe-cli

Weekly Downloads

1

Version

1.4.17

License

MIT

Last publish

Collaborators

  • switer