New script setup allow "dot" custom component import and name tag
KaliaJS opened this issue · 3 comments
KaliaJS commented
The new SFC <script setup> allow to import all customs components and use dot notation on the template.
// Example
<script setup>
import * as Ui from '@plugins/vue-ui'
</script>
<template>
<Ui.Content></Ui.Content>
</template>The problem is that everything after the dot is "Tag attribute" and not "Tag name" (sublime text 4). Can something be done with vue-syntax-highlight ?
rchl commented

