Skip to content

Commit 10b6c82

Browse files
committed
fix: shadcn-vue with Nuxt 4
1 parent 8de484e commit 10b6c82

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

apps/frontend/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
{
2+
"compilerOptions": {
3+
// Temporarily sets the `paths` block below for shadcn-vue, ref: https://github.com/unovue/shadcn-vue/issues/1340
4+
"paths": {
5+
"~/*": ["./app/*"],
6+
"@/*": ["./app/*"],
7+
"~~/*": ["./*"],
8+
"@@/*": ["./*"]
9+
}
10+
},
211
// https://nuxt.com/docs/guide/concepts/typescript
312
"references": [
413
{ "path": "./.nuxt/tsconfig.app.json" },

0 commit comments

Comments
 (0)