fix: fix tailwind import the used classes in components
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
}
|
||||
@plugin "@tailwindcss/typography";
|
||||
|
||||
@source "../build/client/**/*.{js,ts,jsx,tsx}";
|
||||
@source "../../src/**/*.fs";
|
||||
|
||||
.text-align-center {
|
||||
@apply text-center
|
||||
Reference in New Issue
Block a user