Added aliases, fixed typescript and vite config

This commit is contained in:
2023-06-14 11:05:50 +02:00
parent d94e4c3043
commit 2acc0c7252
12 changed files with 25 additions and 17 deletions

View File

@@ -10,7 +10,9 @@ export default defineConfig({
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
'@': fileURLToPath(new URL('./src', import.meta.url)),
'@components': fileURLToPath(new URL('./src/components', import.meta.url)),
'@views': fileURLToPath(new URL('./src/views', import.meta.url)),
}
}
})