feat: add src alias path
This commit is contained in:
parent
15b1a84b62
commit
ac12cbd64a
@ -24,6 +24,7 @@
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@components/*": ["components/*"],
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["components", "src"],
|
||||
|
@ -16,6 +16,7 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'@components': resolve(__dirname, './components'),
|
||||
'@': resolve(__dirname, './src'),
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user