fix: fix tailwind import the used classes in components

This commit is contained in:
ismaelabujadur
2025-12-12 09:28:49 +01:00
parent 947623d84d
commit 2c859e06f2
4 changed files with 4 additions and 5 deletions

View File

@@ -3,7 +3,6 @@
"scripts": {
"start": "vite src/Client",
"build": "vite build -p",
"tailwind:build": "tailwindcss -i src/Client/public/style.css -o dist/public/tailwindStyle.css",
"test": "vite test/Client"
},
"devDependencies": {

View File

@@ -8,9 +8,6 @@ open Shared.Data.ThothSerializerManual
open Shared
open Thoth.Json
open Feliz
open Fable.Core.JsInterop
importSideEffects "./public/style.css"
open type Html

View File

@@ -1,5 +1,8 @@
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<script type="module" src="./build/App.jsx"></script>
</body>

View File

@@ -5,7 +5,7 @@
}
@plugin "@tailwindcss/typography";
@source "../build/client/**/*.{js,ts,jsx,tsx}";
@source "../../src/**/*.fs";
.text-align-center {
@apply text-center