Check This PR To see what changes you need to integrate MUI in your react-router app.
📖 See the react-router docs and the react-router Vite docs for details on supported features.
Run the Vite dev server:
npm run dev
First, build your app for production:
npm run build
Then run the app in production mode:
npm start
Now you'll need to pick a host to deploy it to.
If you're familiar with deploying Node applications, the built-in react-router app server is production-ready.
Make sure to deploy the output of npm run build
build/server
build/client