module-builder icon indicating copy to clipboard operation
module-builder copied to clipboard

After build, lang=“ts" for script tag is missing, the intellisense for component is not available

Open kongku opened this issue 11 months ago • 0 comments

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>

kongku avatar Mar 18 '24 05:03 kongku