generator-vue-component-developer
v0.0.3
Published
> A component develop project boilerplate to enable your quick develop your component or directive and publish to npm
Downloads
3
Readme
vue component develop project boilerplate
> A component develop project boilerplate to enable your quick develop your component or directive and publish to npm
project struct
|-- demo # demo project
|-- App.vue # demo project vue entry
|-- main.js # demo project entry
|-- src
|-- assets # component assets
|-- components # components
|-- index.js # component entry
Install
If yeoman is not installed, install it global
npm install -g yo
install generator-vue-component-developer -g
npm install generator-vue-component-developer -g
run cmd to get the boilerplate
yo vue-component-developer
The yo will enerate the corresponding component name and HTML tag according to your configuration
Usage
in the project fold, install the dependency package
npm i
developer component or directive
npm run dev
Publish
npm adduser
npm publish