fixed tailwind

This commit is contained in:
2025-04-03 13:01:09 +02:00
parent d804c528a6
commit 827d74d49a
5 changed files with 492 additions and 192 deletions

View File

@@ -1,9 +1,6 @@
@import "tailwindcss"; @tailwind base;
@tailwind components;
@theme { @tailwind utilities;
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
html, html,
body { body {

View File

@@ -11,21 +11,22 @@
"dependencies": { "dependencies": {
"@react-router/node": "^7.4.1", "@react-router/node": "^7.4.1",
"@react-router/serve": "^7.4.1", "@react-router/serve": "^7.4.1",
"isbot": "^5.1.17", "isbot": "^5.1.25",
"react": "^19.0.0", "react": "^19.1.0",
"react-dom": "^19.0.0", "react-dom": "^19.1.0",
"react-router": "^7.4.1" "react-router": "^7.4.1"
}, },
"devDependencies": { "devDependencies": {
"@react-router/dev": "^7.4.1", "@react-router/dev": "^7.4.1",
"@tailwindcss/vite": "^4.0.0", "@types/node": "^20.17.30",
"@types/node": "^20", "@types/react": "^19.1.0",
"@types/react": "^19.0.1", "@types/react-dom": "^19.1.1",
"@types/react-dom": "^19.0.1", "autoprefixer": "^10.4.21",
"react-router-devtools": "^1.1.0", "postcss": "^8.5.3",
"tailwindcss": "^4.0.0", "react-router-devtools": "^1.1.8",
"typescript": "^5.7.2", "tailwindcss": "3.4.14",
"vite": "^5.4.11", "typescript": "^5.8.2",
"vite": "^5.4.16",
"vite-tsconfig-paths": "^5.1.4" "vite-tsconfig-paths": "^5.1.4"
} }
} }

643
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

6
postcss.config.js Normal file
View File

@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@@ -1,8 +1,7 @@
import { reactRouter } from "@react-router/dev/vite"; import { reactRouter } from "@react-router/dev/vite";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite"; import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths"; import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({ export default defineConfig({
plugins: [tailwindcss(), reactRouter(), tsconfigPaths()], plugins: [reactRouter(), tsconfigPaths()],
}); });