resolve aliases

This commit is contained in:
Vivian Phung 2024-05-14 13:07:32 -04:00
parent f7fa47dbc8
commit 37c250873c
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -27,7 +27,8 @@
"utils/*": ["./src/utils/*"], "utils/*": ["./src/utils/*"],
"assets/*": ["./src/assets/*"], "assets/*": ["./src/assets/*"],
"context/*": ["./src/context/*"], "context/*": ["./src/context/*"],
"components/*": ["./src/components/*"] "components/*": ["./src/components/*"],
"pages/*": ["./src/pages/*"]
} }
}, },
"include": ["src"], "include": ["src"],

View File

@ -10,6 +10,8 @@ export default defineConfig({
assets: '/src/assets', assets: '/src/assets',
context: '/src/context', context: '/src/context',
components: '/src/components', components: '/src/components',
pages: '/src/pages',
types: '/src/types',
}, },
}, },
define: { define: {