6
An easy to use Remix + React Native Web starter
source link: https://reactnativeexample.com/an-easy-to-use-remix-react-native-web-starter/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
remix-react-native-web-starter
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 withnpm 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.
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK