This template was built using the Netlify Remix Template, which includes built in support for Vite, and was modified to add integration with Tailwind.
- Remix Docs
- Remix Vite Docs
- Netlify Functions Overview
- Installing Tailwind CSS with Vite
- Get started with Netlify Core
- Install the Netlify CLI:
npm i -g netlify-cliIf you have previously installed the Netlify CLI, you should update it to the latest version:
npm i -g netlify-cli@latestOptional
- Sign up and log in to Netlify:
netlify login- Create a new site:
netlify initEnsure all packages are installed by running:
npm installRun
netlify devOpen up http://localhost:8888, and you're ready to go!
To serve your site locally in a production-like environment, run
netlify serveYour site will be available at http://localhost:8888. Note that it will not auto-reload when you make changes.
There are two ways to deploy your app to Netlify, you can either link your app to your git repo and have it auto deploy changes to Netlify, or you can deploy your app manually. If you've followed the setup instructions already, all you need to do is run this:
# preview deployment
netlify deploy --build
# production deployment
netlify deploy --build --prod