egoist/vuepack

[Enhancement] Generate components with plop.

Opened this issue · 3 comments

A suggestion to enhance vuepack: Scaffolding of components and routes with plop

This would allow to scaffold new components, routes and whatever one needs directly from the command-line. I've seen an implementation of this over at react-boilerplate, specifically here.

Is this something you would consider, are there better ways to do this? Is there perhaps an existing or planned scaffolding solution for vue-cli?

Thank you for your input
(And also thank you very much for your work in general!)

check out vue-generator

Thanks! Looks great 👍 I will report back from the next project → For this we will probably still use plop to scaffold our components etc.

Quick update of our progress:
We've added basic generators for components, views and modules over here:
https://github.com/wearelucid/vuepack/tree/vuecid/template/scaffold
I'm not sure what the best way to go about this is and what options people need. We've also only added scaffolding for the jsx variant, but that would be an easy thing to maintain for .vue files also.