Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a typo in the NextJs installation docs. #902

Open
faeb187 opened this issue Apr 1, 2023 · 0 comments
Open

fix a typo in the NextJs installation docs. #902

faeb187 opened this issue Apr 1, 2023 · 0 comments

Comments

@faeb187
Copy link

faeb187 commented Apr 1, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant