Skip to content

Commit a5d161e

Browse files
committed
chore: setup shadcn with tailwindcss
1 parent c2fb3e7 commit a5d161e

File tree

10 files changed

+816
-189
lines changed

10 files changed

+816
-189
lines changed

components.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "",
8+
"css": "src/index.css",
9+
"baseColor": "neutral",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib",
18+
"hooks": "@/hooks"
19+
},
20+
"iconLibrary": "lucide"
21+
}

package.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@
1414
"coverage": "vitest run --coverage"
1515
},
1616
"dependencies": {
17+
"@radix-ui/react-slot": "^1.2.2",
18+
"@tailwindcss/vite": "^4.1.6",
19+
"class-variance-authority": "^0.7.1",
20+
"clsx": "^2.1.1",
21+
"lucide-react": "^0.510.0",
1722
"react": "^19.0.0",
18-
"react-dom": "^19.0.0"
23+
"react-dom": "^19.0.0",
24+
"tailwind-merge": "^3.3.0",
25+
"tailwindcss": "^4.1.6"
1926
},
2027
"keywords": [
2128
"dsa",
@@ -47,6 +54,7 @@
4754
"husky": "^9.1.7",
4855
"lint-staged": "^15.5.1",
4956
"prettier": "^3.5.3",
57+
"tw-animate-css": "^1.2.9",
5058
"typescript": "~5.7.2",
5159
"typescript-eslint": "^8.26.1",
5260
"vite": "^6.3.1",

0 commit comments

Comments
 (0)