0.0.3 • Published 8 years ago
generator-vue-component-developer v0.0.3
vue component develop project boilerplate
> A component develop project boilerplate to enable your quick develop your component or directive and publish to npmproject struct
|-- demo # demo project
|-- App.vue # demo project vue entry
|-- main.js # demo project entry
|-- src
|-- assets # component assets
|-- components # components
|-- index.js # component entryInstall
If yeoman is not installed, install it global
npm install -g yoinstall generator-vue-component-developer -g
npm install generator-vue-component-developer -grun cmd to get the boilerplate
yo vue-component-developerThe yo will enerate the corresponding component name and HTML tag according to your configuration
Usage
in the project fold, install the dependency package
npm ideveloper component or directive
npm run devPublish
npm addusernpm publish