-
-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
Description
vue component for example :
`
Hello {{ msg }}
<script lang="ts" setup>
import { ref, withDefaults } from "vue";
const props = withDefaults(defineProps<{
code?: string;
}>(), {
code: "aa"
})
const msg = ref("1213");
const color = ref("green");
</script>
<style scoped>
.example {
background: v-bind('color');
color: red;
}
</style>`
Describe the bug
SyntaxError: Unexpected token, expected "," (9:15)
To Reproduce
Expected behavior
Versions
- Browser (name & version): chrome 94
- vue3-sfc-loader: 0.8.4
Additional context
