Skip to content

Commit 21d2869

Browse files
committed
Add @tailwindcss/vite dependency and integrate with Vite configuration; remove obsolete postcss.config.js
1 parent 74e0b3a commit 21d2869

File tree

4 files changed

+23
-50
lines changed

4 files changed

+23
-50
lines changed

examples/crm-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
},
2727
"devDependencies": {
2828
"@tailwindcss/postcss": "^4.1.18",
29+
"@tailwindcss/vite": "^4.1.18",
2930
"@types/react": "^18.3.3",
3031
"@types/react-dom": "^18.3.0",
3132
"@vitejs/plugin-react": "^4.3.1",

examples/crm-app/postcss.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/crm-app/vite.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import { defineConfig } from 'vite';
22
import react from '@vitejs/plugin-react';
3+
import tailwindcss from '@tailwindcss/vite';
34
import path from 'path';
45

56
export default defineConfig({
6-
plugins: [react()],
7+
plugins: [
8+
react(),
9+
tailwindcss(),
10+
],
711
resolve: {
812
alias: {
913
'@': path.resolve(__dirname, './src'),

pnpm-lock.yaml

Lines changed: 17 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)