Welcome to the Remix-Vite-Tailwind minimal template project. This template provides a streamlined starting point with Remix, Vite, and Tailwind CSS. It includes only the essential components needed to get started quickly.
- Remix for server-side rendering and routing
- Vite for fast bundling and development builds
- Tailwind CSS for utility-first styling
- Basic theme configuration with customizable colors
- Essential UI components for common use cases
- Responsive design support
Make sure you have the following installed:
To use this template, you can quickly set up a new project using the following commands:
-
Open your terminal and run:
npx create-remix@latest --template https://github.com/EvanMarie/project-template
-
Follow the prompts to set up your project (choose TypeScript/JavaScript, project name, etc.).
-
Navigate to your project directory:
cd your-project-name -
Install the dependencies:
yarn install
Or, if using npm:
npm install
-
Run the development server:
yarn dev
Or, if using npm:
npm run dev
-
Open your browser and go to
http://localhost:3000.
This template provides a clean, minimal structure for building Remix applications:
app/: The core of the Remix applicationcomponents/: Contains basic UI componentsstyles.tsx: Includes global styles and theme configurationtailwind.config.js: Tailwind configuration file
public/: Static assets such as images and fontsvite.config.js: Configuration file for Vitepackage.json: Project dependencies and scripts
The template comes with a basic color scheme that you can easily customize in the tailwind.config.js file. The theme colors are defined in the themeColors object, which you can modify to match your project's needs.
themeColors: {
100: 'rgba(255, 255, 255, 1)',
// other colors...
}The template includes basic responsive design support using Tailwind's utility classes. You can use the predefined breakpoints (sm, md, lg, xl) to create responsive layouts:
<div className="w-full md:w-1/2 lg:w-1/3">Responsive container</div>When you're ready to deploy, build the project:
yarn buildOr, if using npm:
npm run buildThis will create a production-ready version in the dist/ folder.
This project is licensed under the MIT License.
If you have any questions or encounter any issues, feel free to open an issue or submit a pull request on GitHub.
