diff --git a/packages/create-app/template-vue-ts/tsconfig.json b/packages/create-app/template-vue-ts/tsconfig.json index 8c7115f961a575..e93a34d9aad938 100644 --- a/packages/create-app/template-vue-ts/tsconfig.json +++ b/packages/create-app/template-vue-ts/tsconfig.json @@ -8,7 +8,9 @@ "sourceMap": true, "lib": ["esnext", "dom"], "types": ["vite/client"], - "plugins": [{ "name": "@vuedx/typescript-plugin-vue" }] + "plugins": [{ "name": "@vuedx/typescript-plugin-vue" }], + "resolveJsonModule": true, + "esModuleInterop": true }, "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"] }