Opinionated Remix Starter Template
This is an opinionated remix starter template with the following opinions
- 💻 Express adapter
- 🎨 TailwindCSS
- 🧑💼 Node version manager - nvm
- 🦋 Prettier
To start a remix project with this template, run
npx create-remix@latest --template iamzee/remix-starterThis project uses nvm as a node version manager. Before running any npm command, make sure you are in the correct node environment (specified in .nvmrc file)
To install the node with the version specified in .nvmrc, run:
nvm installThis will automatically detect the .nvmrc file and install the specified node version.
Now, to use that node version, run:
nvm useYou can verify the node version, by running:
node --versionStart the Remix development asset server and the Express server by running:
npm run devThis starts your app in development mode, which will purge the server require cache when Remix rebuilds assets so you don't need a process manager restarting the express server.
First, build your app for production:
npm run buildThen run the app in production mode:
npm startNow you'll need to pick a host to deploy it to.
If you're familiar with deploying express applications you should be right at home just make sure to deploy the output of remix build
build/public/build/
- Add light/dark mode toggle