Skip to content

Commit e00f9b3

Browse files
authored
Fix adding components (#58)
This PR fixes the issue "An invalid components.json file was found at ... " when adding new component
1 parent c2b9d02 commit e00f9b3

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

components.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
{
2-
"$schema": "https://shadcn-vue.com/schema.json",
3-
"style": "default",
4-
"typescript": true,
5-
"tsConfigPath": "./tsconfig.json",
6-
"tailwind": {
7-
"config": "tailwind.config.js",
8-
"css": "resources/css/app.css",
9-
"baseColor": "neutral",
10-
"cssVariables": true,
11-
"prefix": ""
12-
},
13-
"framework": "laravel",
14-
"aliases": {
15-
"components": "resources/js/Components",
16-
"utils": "@/lib/utils",
17-
"ui": "resources/js/Components/ui",
18-
"lib": "@/lib",
19-
"hooks": "@/hooks"
20-
}
2+
"$schema": "https://shadcn-vue.com/schema.json",
3+
"style": "default",
4+
"typescript": true,
5+
"tailwind": {
6+
"config": "tailwind.config.js",
7+
"css": "resources/css/app.css",
8+
"baseColor": "neutral",
9+
"cssVariables": true,
10+
"prefix": ""
11+
},
12+
"aliases": {
13+
"components": "@/components",
14+
"composables": "@/composables",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib"
18+
},
19+
"iconLibrary": "lucide"
2120
}

0 commit comments

Comments
 (0)