- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't camelize attributes for plain elements (#3750)
Co-authored-by: Ray <[email protected]> Co-authored-by: Johnson Chu <[email protected]>
- v2.2.2
- v2.2.0
- v2.1.10
- v2.1.8
- v2.1.6
- v2.1.4
- v2.1.2
- v2.1.0
- v2.0.29
- v2.0.29-alpha.0
- v2.0.28
- v2.0.26
- v2.0.26-alpha.2
- v2.0.26-alpha.1
- v2.0.26-alpha.0
- v2.0.24
- v2.0.23-alpha.1
- v2.0.23-alpha.0
- v2.0.22
- v2.0.21
- v2.0.20
- v2.0.19
- v2.0.18
- v2.0.17
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.8.27
- v1.8.26
- v1.8.25
- v1.8.24
1 parent
32fd1ee
commit 1789690
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test-workspace/tsc/vue3_strictTemplate/dataAttributes/main.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<template> | ||
<div> | ||
<svg> | ||
<path stroke="#efefef" stroke-width="123" pathLength="10" /> | ||
<path stroke="#efefef" :stroke-width="123" :pathLength="10" /> | ||
</svg> | ||
<foo stroke-width="123" /> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
const Foo = defineComponent({ | ||
props: { | ||
strokeWidth: { type: String, required: true }, | ||
} | ||
}); | ||
</script> |