Is there any easy way to create new components in the Vue-cli?

user7767606 picture user7767606 · Apr 8, 2018 · Viewed 21.5k times · Source

I can't find any easy way to create new components with the Vue-cli. I came from Angular and there I could just type ng g c "component name" and it would make the job.

Does anyone know about easy way to do it as with the angular cli?

Answer

Amin Rashidbeigi picture Amin Rashidbeigi · Apr 8, 2018

I guess vue-cli doesn't have component creator command yet. You can use vue-generate-component