Replies: 2 comments 1 reply
-
Hey! A few things I can think of that could cause issues here: How do you start the application? Do you want to develop the If you run If you go into the diff --git a/apps/web/index.html b/apps/web/index.html
index 44e484f..156e0ff 100644
--- a/apps/web/index.html
+++ b/apps/web/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
+ <link rel="stylesheet" href="./src/index.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head> Then I do get the styles without any more changes. So, the question is, how do you want to develop? If you want to be able to run |
Beta Was this translation helpful? Give feedback.
-
I resolve the issue by But I don't think that's the best solution |
Beta Was this translation helpful? Give feedback.
-
What version of Tailwind CSS are you using?
v3.4.13
What build tool (or framework if it abstracts the build tool) are you using?
react@18.3.1
What version of Node.js are you using?
v20.11.1
What browser are you using?
electron
What operating system are you using?
Windows
Reproduction URL
https://github.com/Yueyanc/template/tree/electron-template
Describe your issue
If I set tailwind.config.js in the root directory of the monorepo project, the configuration takes effect. However, it does not take effect when I set tailwind.config.js in the root directory of the web project
Beta Was this translation helpful? Give feedback.
All reactions