Skip to content

Commit 0fc9c07

Browse files
committed
Enhance MSW React CRUD example with Tailwind CSS integration and improved UI components
1 parent e55c6de commit 0fc9c07

File tree

10 files changed

+261
-444
lines changed

10 files changed

+261
-444
lines changed

examples/msw-react-crud/index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
69
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
710
<title>ObjectStack MSW + React CRUD Example</title>
811
</head>

examples/msw-react-crud/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
"@types/react": "^18.3.1",
2424
"@types/react-dom": "^18.3.0",
2525
"@vitejs/plugin-react": "^4.3.4",
26+
"autoprefixer": "^10.4.23",
2627
"msw": "^2.0.0",
28+
"postcss": "^8.5.6",
29+
"tailwindcss": "^4.1.18",
2730
"typescript": "^5.0.0",
2831
"vite": "^5.4.11"
2932
},
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

0 commit comments

Comments
 (0)