Skip to content

Commit 63543bf

Browse files
committed
include new path to project
1 parent 7f7d937 commit 63543bf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tsconfig.app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"paths": {
3030
"@/*": ["./src/*"],
3131
"@blog/*": ["./blog/*"],
32-
"@public/*": ["./public/*"]
32+
"@public/*": ["./public/*"],
33+
"@data/*": ["./data/*"]
3334
}
3435
},
3536
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.tsx", "src/**/*.jsx", "src/**/*.vue", "src/**/*.d.ts"]

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default defineConfig({
3333
resolve: {
3434
alias: {
3535
'@': fileURLToPath(new URL('./src', import.meta.url)),
36+
'@data': fileURLToPath(new URL('./data', import.meta.url)),
3637
'@blog': fileURLToPath(new URL('./blog', import.meta.url)),
3738
'@public': fileURLToPath(new URL('./public', import.meta.url))
3839
}

0 commit comments

Comments
 (0)