Add script setup and typescript config

This commit is contained in:
Kasper Seweryn 2022-04-16 13:34:39 +02:00 committed by Georg Krause
commit a578ea0341
6 changed files with 1156 additions and 506 deletions

25
front/tsconfig.json Normal file
View file

@ -0,0 +1,25 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"target": "ESNext",
"lib": ["DOM", "ESNext"],
"strict": true,
"esModuleInterop": true,
"jsx": "preserve",
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
"vue/ref-macros",
],
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/*.d.ts", "src/**/*.ts", "src/**/*.vue"]
}