Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Next.js support #275

a16n-dev started this conversation in Show and tell
Discussion options

Hey all,

I've spent the last few weeks working on integrating Uniwind into a cross-platform app, which has involved writing a Next.js (webpack) plugin as well as solving a few of the challenges that come with using Uniwind in a SSR context. It's at the point where it's pretty stable, so I thought I'd share it here since others might find it useful.

I've set up a simple demo project here, and plugin itself can be found here. Any feedback or suggestions would also be much appreciated!

If there's interest I'm also happy to open a PR for the plugin here 😄

Thanks

You must be logged in to vote

Replies: 3 comments

Comment options

Hey!

This is awesome, thanks so much for putting this together! Really appreciate you taking the time to work through the bundling / NextJS challenges and share it with the community.

Will add you to the docs soon. I hope you gonna actively maintain it

Thanks again for the contribution 🙌

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

If there's interest I'm also happy to open a PR for the plugin here 😄

I'm open for pull request to uniwind repo I guess it would make things easier for you to maintain it as well.
But we would like to wait for the community feedback if this is really needed for more people. Vite plugin was requested multiple times because many people are using vite storybook for showcasing / testing their components that's why it was added to the core. Anyways thanks for contribution really appreciate it 💪

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /