fix(chapter2): align shadcn button with Tailwind prefix
Configure shadcn aliases and regenerate the Button component with the tw: utility prefix so its styles are emitted by Tailwind.
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
"css": "src/app/styles/tailwind.css",
|
||||
"baseColor": "neutral",
|
||||
"cssVariables": true,
|
||||
"prefix": ""
|
||||
"prefix": "tw"
|
||||
},
|
||||
"iconLibrary": "lucide",
|
||||
"rtl": false,
|
||||
"aliases": {
|
||||
"components": "@/app/_components/shadcn/ui",
|
||||
"utils": "@/app/_components/shadcn/ui",
|
||||
"ui": "@/app/_components/shadcn/utils",
|
||||
"utils": "@/app/_components/shadcn/libs/utils",
|
||||
"ui": "@/app/_components/shadcn/ui",
|
||||
"lib": "@/app/_components/shadcn/libs",
|
||||
"hooks": "@/app/_components/shadcn/hooks"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user