-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Example of next.js and lerna #768
Comments
There's a babel plugin for RNW as mentioned in the docs. You should use that. I don't know much about next.js but it looks like you can make your own renderer as that thread describes, and using the APIs documented both here and in next.js. I don't see how lerna is related to this. |
Lerna shouldn't have an impact, but unfortunately it does causing the instructions in the documents using the babel-loader plugin & preset to unfortunately not work with next.js and lerna. It seems like a more common use case so just seeing if anyone has cracked this...I spent around 5 hours yesterday trying to get them to work together unsuccessfully which is why I am reaching out to the community for help. Does anyone have a working next.js project with react-native-web and lerna? If so, please respond to this thread with a link to an example project or instructions for configuring. Thank you! |
@kmalakoff I've added a react-native-web example to the Next.js repository. |
I have spent quite a bit of time trying various things to get react-native-web working with next.js and lerna, but haven't been able to crack it.
No dice...does anyone have a working version of react-native-web with next.js and lerna (for shareable components across web and mobile).
The text was updated successfully, but these errors were encountered: