0.3.1 • Published 5 years ago
vt-cli v0.3.1
Install
// npm
npm install vt-cli -g
Usage
Usage: vt options
Options: -V, --version output the version number -B, --basePath path set BasePath, default src -h, --help output usage information
Commands:
component|c \ create a component directory with typescript
view|v \ create a view directory with typescript
vue \ create a .vue component with typescript
directive|d \ create a directive with typescript
Examples:
show usage information
\$ vt --help
show version information
\$ vt --version
create a view directory with typescript
\$ vt view view-name \$ vt v path/to/view-name
create a component directory with typescript
\$ vt component component-name \$ vt c path/to/component-name
create a .vue component with typescript
\$ vt vue vue-name \$ vt vue path/to/vue-name
create a directive with typescript
\$ vt directive directive-name \$ vt d path/to/directive-name