Skip to content

Giuliano1993/make-vue-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make-vue-component

This is a small package born to not always have to write from scratch or copy paste new vue components. To run it, in your root just run

npx make-vue-component componentName

and you will have a brand new vue component in you src/components foleder.

Options

Component Name required

The component name is the name of the file and of the component. You can also create it into nested folder, you just need to write the path from the components, for example

npx make-vue-component admin/componentName

will create the new component in the src/components/admin folder

API

The created components use by default the options API; if you wish to use the composition API you just need to add the -c flag

i.e.

npx make-vue-component -c componentName

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published