remix-react-native-web-starter

License
Twitter
Star

Using this template

This template is based on the How to Setup React Native Web in a Remix project article

Requisites:

  • Use pnpm to install dependencies. Install it with npm install --global pnpm

Commands:

git clone [email protected]:HorusGoul/remix-react-native-web-starter.git my-project
cd my-project
pnpm install
pnpm dev

Development

From your terminal:

pnpm dev

This starts your app in development mode, rebuilding assets on file changes.

Deployment

First, build your app for production:

pnpm build

Then run the app in production mode:

pnpm start

Now you’ll need to pick a host to deploy it to.

DIY

If you’re familiar with deploying node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of remix build

  • build/
  • public/build/

GitHub

View Github