Skip to content
/ retail Public template

Starter template for building full-stack web applications with Remix using Vite, TypeScript, Tailwind CSS, Prettier and ESLint.

Notifications You must be signed in to change notification settings

nikolailehbrink/retail

Repository files navigation

Welcome to ReTail!

ReTail project image

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 which you will find on https://remix.run/docs/en/main/guides/vite.

See the Remix Vite docs, the Vite docs and the Tailwind CSS docs for details on supported features.

Features

  • Remix with Vite: The latest version of Remix with Vite as the build tool. That means, instant server start, fast HMR, and optimized builds for your full-stack app.
  • Tailwind CSS: Build your UI faster with the utility-first CSS framework.
  • Automatic wrapping of long class names: This template enables automatic wrapping for long class names with prettier-plugin-classnames.
  • Automatic class sorting: This template enables automatic class sorting with prettier-plugin-tailwindcss.
  • Font optimization: Preloaded local fonts with Fontsource.
  • Format script: Format all your files with npm run format.

Development

Run the Vite dev server:

npm run dev

Deployment

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.

DIY

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

About

Starter template for building full-stack web applications with Remix using Vite, TypeScript, Tailwind CSS, Prettier and ESLint.

Topics

Resources

Stars

Watchers

Forks