We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.5.13
core/packages/compiler-core/src/transform.ts
Line 157 in 2e6ec39
filename: BaseComponent.vue template:
BaseComponent.vue
<template> <div> <BaseComponent v-for="child in children" :key="child.id" /> </div> </template> <script setup> const children = ref([]); </script>
filename: base-component.vue template:
base-component.vue
<template> <div> <base-component v-for="child in children" :key="child.id" /> </div> </template> <script setup> const children = ref([]); </script>
Culprit is here:
it transforms it to PascalCase, so kebab-case doesn't work
PascalCase
kebab-case
in reproduce
related issues: vuejs/docs#765 #2827 #2821
The text was updated successfully, but these errors were encountered:
I can't reproduce it in the Playground Could you please provide a minimal reproduction?
Sorry, something went wrong.
it indeed works in playground, i'll try on clean app to reproduce
I'm ashamed
it does not indeed work in our project (latest vue/vite)
but it does work correctly in plain vite-create project
i did not bother to try out on empty project first before creating an issue
sorry for wasting your time
No branches or pull requests
Vue version
3.5.13
Link to minimal reproduction
core/packages/compiler-core/src/transform.ts
Line 157 in 2e6ec39
Steps to reproduce
Works
filename:
BaseComponent.vue
template:
Works
filename:
base-component.vue
template:
DOES NOT work
filename:
base-component.vue
template:
Culprit is here:
core/packages/compiler-core/src/transform.ts
Line 157 in 2e6ec39
it transforms it to
PascalCase
, sokebab-case
doesn't workWhat is expected?
in reproduce
What is actually happening?
in reproduce
System Info
Any additional comments?
related issues:
vuejs/docs#765
#2827
#2821
The text was updated successfully, but these errors were encountered: