Replies: 5 comments 1 reply
-
How is the |
Beta Was this translation helpful? Give feedback.
-
I partially found how to fix this in
I have added a string with |
Beta Was this translation helpful? Give feedback.
-
Could you provide an reproduction on https://vite.new |
Beta Was this translation helpful? Give feedback.
-
Do you have a boilerplate with a monorepo (client + server)? If no, I'd have to make one and send a Github repository link. Or if you could help me provide correct plugin option into
|
Beta Was this translation helpful? Give feedback.
-
I found a fix for my issue with adding packages/client/tailwind.config.cjs
packages/server/index.ts
packages/client/vite.config.ts
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I have an app with client and server folders.
tailwind.config.cjs
,postcss.config.cjs
andvite.config.ts
are located inpackages/client
directory, so doesindex.css
that is imported inApp.tsx
. A Vite createServer is created inpackages/server/index.ts
in middleware mode (SSR) from vitejs.dev guide.The problem
Vite
createServer
App.tsx
Reproduction
Steps to reproduce
No response
System Info
System: OS: macOS 13.2.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 248.81 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.12.1 - /usr/local/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 8.19.2 - /usr/local/bin/npm Browsers: Chrome: 110.0.5481.177 Safari: 16.3
Used Package Manager
yarn
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions