You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is for pages/ and app/ directory approach.
At least when using the app/ directory, the root layout (Layout.tsx) should require the module (not a .css)
import"windicss"
In the docs: import "windi.css" (remove the dot)
For some (local probably) reasons it didn't show me an error in VSCode...
Update: Might be a documented caching issue, so it was working with my proposed alteration. (until after writing this issue)
Thank you for Windi!
I've used Tailwind and Daisy quite a while among others, and now I just discovered unocss, so I focus on it (the successor it seems (or good marketing)
Can be closed therefore.
The text was updated successfully, but these errors were encountered:
https://windicss.org/integrations/webpack.html#next-js
I think this is for
pages/
andapp/
directory approach.At least when using the
app/
directory, the root layout (Layout.tsx) should require the module (not a.css
)In the docs:
import "windi.css"
(remove the dot)For some (local probably) reasons it didn't show me an error in VSCode...
Update: Might be a documented caching issue, so it was working with my proposed alteration. (until after writing this issue)
Thank you for Windi!
I've used Tailwind and Daisy quite a while among others, and now I just discovered unocss, so I focus on it (the successor it seems (or good marketing)
Can be closed therefore.
The text was updated successfully, but these errors were encountered: