DEV Community

Discussion on: Tutorial: How to share code between iOS, Android & Web using React Native, react-native-web and monorepo

Collapse
 
horsepowerbank profile image
Horsepowerbank.com

Hey, thanks for your awesome tutorial. Just a quick question, how can we host the web version of the app? Cause it seem like it share the file inside the packages/component/src folder. I using Docker, is it mean that we need to add all files into the server?

Collapse
 
brunolemos profile image
Bruno Lemos

The web package has a build command, and the result goes to the packages/web/dist folder. You should deploy only the dist folder.

Collapse
 
horsepowerbank profile image
Horsepowerbank.com

I see.. thanks bro.. thats help a lot