fix a typo in the NextJs installation docs.
Author: faeb187Created Apr 1, 2023Updated Apr 2, 2023
https://windicss.org/integrations/webpack.html#next-js
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.
Source: windicss/windicss