1.0.1 • Published 2 years ago

tpl-mk v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago
#this is a cli fast to create .vue file and import in router auto

# install 
npm install -g tpl-mk

# run
switch terminal work path same with the path of package.json of project.

# check version
tpl-mk -version

# get help
tpl-mk -h


# src/components、src/components、src/router/index.js must be exists first
#create test.vue file in src/components/,the final path is src/components/test/test.vue
tpl-mk -c=test


#create test.vue file in src/views/,the final path is src/views/test/test.vue
tpl-mk -v=test


#create test.js file in src/api/,the final path is src/api/test.js
tpl-mk -r=test


#create above files
tpl-mk -a=test
1.0.1

2 years ago

1.0.0

2 years ago