bluwy / whyframe

Develop components in isolation with just an iframe

Home Page:https://whyframe.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to use with NextJS without Vite?

dgknca opened this issue · comments

I really like the idea. But I need this in a Next project. Is it compatible?

It's not compatible yet. It's in the 1.0 roadmap and I'm planning to get to that some time next week. Will be travelling mostly this week so I might not come around to it soon.

I've made some progress and have a working Next example at https://github.com/bluwy/whyframe/tree/master/playground/next. Seems to be working fine so far, and once I confirm it works with Docusaurus too I'll make a release for webpack support!

Next.js support is added in @whyframe/core 0.1.5 and @whyframe/jsx 0.1.4. Check out the guide here: https://whyframe.dev/docs/integrations/next

Great, thanks for your hard work!