React Router can be deployed two ways:
The official React Router templates can help you bootstrap an application or be used as a reference for your own application.
When deploying to static hosting, you can deploy React Router the same as any other single page application with React.
After running the create-react-router
command, make sure to follow the instructions in the README.
npx create-react-router@latest --template remix-run/react-router-templates/default
The containerized application can be deployed to any platform that supports Docker, including:
npx create-react-router@latest --template remix-run/react-router-templates/node-custom-server
The containerized application can be deployed to any platform that supports Docker, including:
npx create-react-router@latest --template remix-run/react-router-templates/node-postgres
The containerized application can be deployed to any platform that supports Docker, including:
npx create-react-router@latest --template remix-run/react-router-templates/vercel
npx create-react-router@latest --template remix-run/react-router-templates/cloudflare-d1
npx create-react-router@latest --template remix-run/react-router-templates/cloudflare
npx create-react-router@latest --template remix-run/react-router-templates/netlify