Static GitHub Issues

[679] Idea/Suggestion: Nuxt CLI command for generating pages/components

prev: Isomorphic examples with data without axios?
next: Memory leak still exists

This is just an idea to see what the team behind Nuxt think (not sure if this is the best place for it):

It could be really convenient to add an extra command to the nuxt cli tool to generate new pages/components? I find myself doing this a lot and at the moment it's basically copying and pasting the script, template and style tags from another file and emptying it out. It could also take preferences about languages (pug, sass, etc), and even layouts and store modules, etc. E.g.:

nuxt create component my-component-name
nuxt create page my-page-name --sass

Would you be open to reviewing a PR to implement this, or do you think it's not appropriate to go into this project?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c586">#c586</a>)</em></sub></div>