module-builder
module-builder copied to clipboard
After build, lang=“ts" for script tag is missing, the intellisense for component is not available
the sfc use options style with typescript, as follow:
<script lang="ts">
export default defineComponent({
pros:{
foo:{
type: String,
default: "bar"
}
}
})
</script>
after build:
<script>
export default defineComponent({
pros:{
foo:{
type: String,
default: "bar"
}
}
})
</script>