-
Notifications
You must be signed in to change notification settings - Fork 41
Next.js support #275
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 2
Replies: 3 comments
-
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 🙌
Beta Was this translation helpful? Give feedback.
All reactions
-
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
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 💪
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1