Skip to content

Commit 24befe1

Browse files
committed
feat!: add jsxImportSource; Vue 3.3+ is required
BREAKING CHANGE: drop support for Vue 3.2 and below See https://blog.vuejs.org/posts/vue-3-3#jsx-import-source-support It doesn't need to be explicitly set for most projects because Volar / vue-tsc would detect the Vue version and set it automatically. But in a pure TS/TSX project, it's required to set it manually. So we are explicitly adding it here.
1 parent da65455 commit 24befe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
// Required in Vue projects
2121
"jsx": "preserve",
22+
"jsxImportSource": "vue",
2223

2324
// `"noImplicitThis": true` is part of `strict`
2425
// Added again here in case some users decide to disable `strict`.

0 commit comments

Comments
 (0)