You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thing thanks a lot for making Volar and congrats on 1.0.0!
Basically, if I have a component and a ref that have the same name but with different casing (basically: foo and Foo), Volar will confuse the ref for a component when using kebab-case style. (<foo/>)
The error is not here when using PascalCase.
victorgarciaesgi
changed the title
Volar confuses ref for a component when using kebab-case syntaxt
Volar confuses ref for a component when using kebab-case syntax
Oct 14, 2022
First thing thanks a lot for making Volar and congrats on 1.0.0!
Basically, if I have a component and a ref that have the same name but with different casing (basically:
foo
andFoo
), Volar will confuse the ref for a component when using kebab-case style. (<foo/>
)The error is not here when using PascalCase.
Exemple component: https://codesandbox.io/s/elated-hooks-d9vgsb?file=/src/App.vue
Screenshot is using
<script setup/>
The text was updated successfully, but these errors were encountered: