Skip to content

Commit aa8e4b5

Browse files
committed
Update tsconfig with Vue DOM config and path alias
1 parent 03afa2b commit aa8e4b5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tsconfig.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3+
"include": ["src/**/*.ts", "src/**/*.vue"],
4+
"tsc-alias": { "resolveFullPaths": true },
5+
"vueCompilerOptions": { "plugins": ["@vue/language-plugin-pug"] },
36
"extends": [
47
"@vue/tsconfig/tsconfig",
8+
"@vue/tsconfig/tsconfig.dom",
59
"@vue/tsconfig/tsconfig.lib",
610
"@tsconfig/strictest/tsconfig"
711
],
812
"compilerOptions": {
913
"emitDeclarationOnly": false,
1014
"allowImportingTsExtensions": false,
11-
"outDir": "dist"
12-
},
13-
"include": ["src/**/*.ts"]
15+
"outDir": "dist",
16+
"paths": { "@/*": ["./src/*"] }
17+
}
1418
}

0 commit comments

Comments
 (0)