Import alias
This commit is contained in:
parent
f085e913ef
commit
d8b4f50239
1 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/base"
|
||||
}
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
// https://docs.astro.build/en/guides/aliases/
|
||||
"@assets/*": ["src/assets/*"],
|
||||
"@components/*": ["src/components/*"],
|
||||
"@layouts/*": ["src/layouts/*"],
|
||||
"@styles/*": ["src/styles/*"],
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue