Open sethxd opened 2 years ago
Hi @sethxd , I just tried to reproduce the problem, and wasn't successful. Could you please put together something on https://hydrogen.new ?
Hi @sethxd , I just tried to reproduce the problem, and wasn't successful. Could you please put together something on https://hydrogen.new ?
Sure thing, I cloned it to stackblitz here (https://stackblitz.com/edit/shopify-hydrogen-xaipwq?file=src/components/FeaturedCollections.server.jsx) but I'm not experiencing the same issue there. Must be an issue with my machine / VS code setup? I'm on a Macbook with version 1.68.1 of Visual Studio code.
@sethxd are you on the latest hydrogen release? What version of Node are you using?
Describe the bug
When I save the file, vite reloads it in the browser and Tailwind styles are gone. I can fix the bug by saving index.css, which will force an hmr update and restore the styles. Just using a barebones install of the Hello World template.
To Reproduce
Expected behaviour Tailwind styles will not disappear on page reload.
Additional context Add any other context about the problem here. eg.
package.json:
tailwind.config.js:
index.css: