Closed ajitid closed 5 years ago
Even more so when the Vue team recommends using pascal case format for naming components: https://vuejs.org/v2/style-guide/#Multi-word-component-names-essential
With some guidance I would like to tackle this issue :)
Hi I would be super interested in this feature .. any status .. any way to help? 😉
@samuells, I'd say the code to change is this line by the looks of it.
However, there's apparently a whole client-server architecture here, and that bit is on the server, so plumbing through from the client to the server is beyond me without looking into it in-depth. The actual change is probably trivial, the plumbing the setting all the way through, not so much.
+1 on this! It's been two months I've setup a new project in Vuejs, and now with the eslint config, it error (or warning) on kebab-casing in .vue files. Yes I can disable but I like the idea!
Especially that I've to setup a demo project with VueJS with all the tooling around it so I can sell the idea of using VueJS to replace current frontend technology :)
Closed there: https://github.com/vuejs/vetur/commit/cff817223cd0532dcab0b67da9627b7abf551fd1 named initial instead of PascalCase though, like in guide Component name casing in templates strongly recommended
OH I didn't realize we still have this issue. Thanks for closing.
for this you can install this extension :) i like it
https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar&ssr=false#review-details
Info
Request
Right now Vetur suggests components only in kebab-case format. An option to toggle suggestions from command palette between kebab-case and PascalCase for Vue components inside
template
tags would be great!