2 years ago
Hi ! I was wondering if I wanted to deploy the web version of a react-native-app, is it the same process as deploying a react app? Thanks in advance!
0 Replies
2 years ago
is it made with create react app?
2 years ago
that's not create react app, I have no experience with that so I'll have to do some research and get back to you
oh sorry i misunderstood. no it's not a react app..it's a react native app
2 years ago
by default react native is for mobile devices
I was wondering if I wanted to deploy the **web version **of a react-native-app, is it the same process as deploying a react app? Thanks in advance!
2 years ago
i ran npx react-native init nameOfApp and there where no web components, only android and ios
2 years ago
could you share your repo?
correct. you have to install react native web and make it compatible to web by configuring a webpack and creating its own index and js file for web
2 years ago
you can add me to the repo if you dont want to make it public?
2 years ago
okay ill see what i can do
2 years ago
do you use yarn or npm locally?
2 years ago
here's a pr
and here the app is running on railway
2 years ago
if you have any build or start commands set in the service settings remove them
2 years ago
yeah, send me your build logs please
2 years ago
still have the bookmarklet right?
They don't say much
2 years ago
they say exactly whats wrong, you haven't set a root directory
oops🤭 . i promise i did, but i didn't click the "check" to save it haha
my brother in law is a commisoner of my nephews/nieces flag football league so i am trying to make an app for him to use to handle the league
2 years ago
have fun with that!!