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:
jiawei
2026-08-30 10:26:59 +08:00
parent a1401c68f5
commit 7b03222922
2 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -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"
},