We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d0d7a7 commit c3f5c9cCopy full SHA for c3f5c9c
packages/plugin-vue/src/script.ts
@@ -108,7 +108,7 @@ export function canInlineMain(
108
if (!lang) {
109
return true
110
}
111
- if ((lang === 'ts' || lang === 'tsx') && options.devServer) {
+ if (lang === 'ts' && options.devServer) {
112
113
114
return false
playground/vue-jsx/TsImport.vue
@@ -1,8 +1,16 @@
1
<template>
2
<h2>Ts Import</h2>
3
<p class="ts-import">{{ foo }}</p>
4
+
5
+ <Bar />
6
</template>
7
8
<script setup lang="tsx">
9
import { foo } from './TsImportFile.js'
10
11
+const Bar = () => (
12
+ <div class="bar">
13
+ <p>Bar</p>
14
+ </div>
15
+)
16
</script>
0 commit comments