hygen-bweble
v0.0.23
Published
A repo for my hygen templates
Readme
hygen-bweble
Hygen templates for use in Vue CLI projects
DEPRECATED: Please use Nuxi
Install
Install hygen-add if not already
$ yarn global add hygen-addthen
$ hygen-add bwebleOptional
Add a script named new to your package.json
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"new": "hygen generator"
},Then you can invoke the generator templates.
New Component
$ yarn new componentor if you didn't add the script
$ yarn hygen generator componentNew Import
$ yarn new importor if you didn't add the script
$ yarn hygen generator importThese two generators should work out the box with any VueCLI project.
There are also 2 other generators included view and view-nav these are a WIP and won't work as expected just yet.
I've left them in incase anyone wants to clone / fork the repo and play around with them.
Contribute
Pull requests to add or improve generators are very welcome. Github
