tpl-mk

1.0.1 • Public • Published
#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

Readme

Keywords

Package Sidebar

Install

npm i tpl-mk

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

13 kB

Total Files

6

Last publish

Collaborators

  • lilinf