Skip to content

luoxuzhi/l-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#this is a cli fast to create .vue file and import in router auto

# install 
npm install -g l-cli

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

# check version
l-cli -version

# get help
l-cli -help

#get verison
l-cli -version

# 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
#and import in router auto like this : import Test from '@/components/test/test'

l-cli -c test

#create test.vue file in src/views/,the final path is src/views/test/test.vue
#and import in router auto like this : import Test from '@/views/test/test'

l-cli -v test


#create test.vue file in src/pages/,the final path is src/pages/test/test.vue
#and import in router auto like this : import Test from '@/pages/test/test'

l-cli -p test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published