Skip to content

Commit 2c914a5

Browse files
authored
fix(create-app): add resolveJsonModule to tsconfig.json for vue-ts template (#1879)
1 parent c76c884 commit 2c914a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/create-app/template-vue-ts/tsconfig.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"sourceMap": true,
99
"lib": ["esnext", "dom"],
1010
"types": ["vite/client"],
11-
"plugins": [{ "name": "@vuedx/typescript-plugin-vue" }]
11+
"plugins": [{ "name": "@vuedx/typescript-plugin-vue" }],
12+
"resolveJsonModule": true,
13+
"esModuleInterop": true
1214
},
1315
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
1416
}

0 commit comments

Comments
 (0)