This template is a starting point for building a Remix app with Vite and Tailwind CSS and was built on top of npx create-remix@latest
found on https://remix.run/docs/en/main/guides/vite.
📖 See the Remix docs, the Remix Vite docs and the Tailwind CSS docs for details on supported features.
This template enables automatic wrapping for long class names and class sorting with prettier-plugin-classnames
and prettier-plugin-tailwindcss
.
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 Remix app server is production-ready.
Make sure to deploy the output of npm run build
build/server
build/client