This template has been configured with all of the tools required to create a React Application using TypeScript and TailwindCSS with Vite.
Note
This project uses pnpm as the package manager.
Important
The postinstall script will run automatically after the installation is complete, with a menu to add the features you want to use and configure the project (warning: the config folder will be removed after the postinstall)
git clone https://github.com/LOsioChico/vite-react-ts-tailwind-template.git- Modify the
package.jsonfile to use your project name, description, etc. - Run
pnpm installto install all of the project's dependencies - Build the project for production:
pnpm build - Run the local development server:
pnpm dev
dev- run the local development serverbuild- build the project files for distributionpreview- locally preview the production buildlint- run the linterformat- run the code formatterpostinstall- this run automatically by pnpm after install, no need to run manually
Vitest
test- run the tests with Vitesttest:ui- run the tests with Vitest UI and Coverage
- 📦 Pnpm - Fast, disk space efficient package manager
- ⚛️ React - A JavaScript library for building user interfaces
- ⚡️ Vite - Super fast build tool
- 🎨 Tailwind CSS v3 - Utility-first CSS framework
- 🚨 ESLint - Find and fix code issues
- 🖌️ Prettier - Code formatter
- 🚀 React Router - Client-side routing
- 📦 Zustand - Effortless state management for React
- 🧪 Vitest - Next Generation Testing Framework
- 🖼️ React Icons - Include popular icons in your React projects easily
- 🎬 Framer Motion - A production-ready motion library for React
- 🗃️ Supabase - The open source Firebase alternative
- 🔄 React Query - Performant and powerful data synchronization for React
- 🔧 VSCode - Code editor
- 🎨 Tailwind CSS IntelliSense - Tailwind CSS IntelliSense
- 🎀 Pretty TypeScript Errors - Make TypeScript errors prettier and human-readable in VSCode.
- 🚨 ESLint - Integrates ESLint JavaScript into VS Code
- 🖌️ Prettier - Code formatter
- 🚦 Error Lens - Improve highlighting of errors, warnings and other language diagnostics
- 👨💻 Github Copilot - AI pair programmer
[✅] - Completed
[⚒️] - In Progress
[🔜] - Planned
- [✅] Add
.gitkeepfiles to empty directories to keep them in the repo - [✅] Add
React Routerfor client-side routing - [✅] Add script to remove
.gitkeepfiles - [✅] Add script to add new features like
Vitest,Zustand,React Icons, etc. - [✅] Add
Zustandfor state management - [✅] Add
config/features.jsonfile to add features to the project - [✅] Add
config/config.jsonfile to configure the project postinstall script - [✅] Add
@clack/promptsfor interactive CLI, to add features to the project and configure the project postinstall script - [✅] Add
Vitestfor testing - [✅] Add
React Iconsfor icons - [✅] Add
Framer Motionfor animations - [✅] Add
Supabasefor backend - [✅] Add
React Queryfor data fetching - [🔜] Add an CLI gif animation to the README (Example of how to initialize the project)
- [🔜] Add folder structure to the README with variations of additional features
Feel free to open an issue or create a PR if you'd like to contribute 🙌
The project is available as open source under the terms of the MIT License ©.