FountainJS / generator-fountain-vue

Yeoman 'fountain' generator to start a webapp with Vue http://fountainjs.io
MIT License
103 stars 12 forks source link

Naming conflict with Main #21

Open FossPrime opened 7 years ago

FossPrime commented 7 years ago

Seems like really poor style to name a component Main, as when you do that you can't include it in a template as main is a keyword. the Vue CLI uses Home.vue instead and wraps everything in App.vue to reduce the need to subroute everything.

Also

Note that Vue does not enforce the W3C rules for custom tag names (all-lowercase, must contain a hyphen) though following this convention is considered good practice. https://vuejs.org/v2/guide/components.html