yarn next dev is not working for a web-only project.
I'm getting the following:
The static directory has been deprecated in favor of the public directory. err.sh/zeit/next.js/static-dir-dep...
Error: The project entry file could not be resolved. Please either define it in the package.json (main), app.json (expo.entryPoint), create an index.js, or install the expo package.
...
The normal expo-for-web dev server ( expo start:web ) uses metro bundler & webpack-dev-server collaboration. On the other hand, does next-expo's dev server (next dev) use the dev server managed only by next.js? (expo-cli's build system is not used?)
Currently, I'm writing a separate navigation bar for the web. It only supports the Next.js default page-based routing for the web. docs.expo.io/versions/latest/guide...
Hi @evanbacon
, great work!
Could you please update the steps for Next.js integration with Expo - the offline support part? Following the instructions won't work. Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
yarn next dev
is not working for a web-only project.I'm getting the following:
πππππππ
π₯³ππ₯³ππ₯³ππ₯³π
The normal expo-for-web dev server (
expo start:web
) uses metro bundler & webpack-dev-server collaboration. On the other hand, does next-expo's dev server (next dev
) use the dev server managed only by next.js? (expo-cli's build system is not used?)That seems exciting, thank you for introducing.
Thanks so much! π I'm pretty hyped with how easy it is!
Any example how will
react-navigation
work withnext-expo
web project?This is awesome. Am I able to develop my iOS/Android app within the next
pages
, or do I need to do that separately?Awesome article! Done React Native without expo and Next.js projects and am now excited to bridge that gap.
How did you go about generating the file structure code block for this article?
Hah I did it manually π
you can try using this command called "tree" sourabhbajaj.com/mac-setup/iTerm/t...
This looks awesome! Does nextjs work work react-navigation? How will the routing work in native and web?
Currently, I'm writing a separate navigation bar for the web. It only supports the Next.js default page-based routing for the web. docs.expo.io/versions/latest/guide...
I'm really excited about this approach, already got some butterflies in my stomach in anticipation of the surprises it might hold down the road
Does this work even without react-native-web?
This is a web only feature as Next.js doesnβt support native platforms
github.com/expo/expo/blob/master/d... worked for me
Hi Evan, I was wondering if this would work with a custom next App using _app.js?
Hi @evanbacon , great work!
Could you please update the steps for Next.js integration with Expo - the offline support part? Following the instructions won't work. Thanks!