From 828d1fcd5e7390e30f3beb0e71edce8d959feec1 Mon Sep 17 00:00:00 2001 From: zhennann Date: Mon, 18 Mar 2024 22:09:43 +0800 Subject: [PATCH] feat(app-vite): support tsx --- app-vite/tsconfig-preset.json | 1 + 1 file changed, 1 insertion(+) diff --git a/app-vite/tsconfig-preset.json b/app-vite/tsconfig-preset.json index 4a1e2a0dd33..335ac384874 100644 --- a/app-vite/tsconfig-preset.json +++ b/app-vite/tsconfig-preset.json @@ -17,6 +17,7 @@ "useDefineForClassFields": true, // Fix Volar issue https://github.com/johnsoncodehk/volar/issues/1153 "jsx": "preserve", + "jsxImportSource": "vue", "lib": ["esnext", "dom"], "paths": { "src/*": ["src/*"],