This Vite React Tailwind Starter is a modern, lightweight template for building React applications. It combines the speed of Vite, the power of React, the flexibility of React Router DOM v6, and the utility-first approach of Tailwind CSS. This template is designed to jumpstart your React projects with a well-structured, maintainable, and scalable foundation.
vite-react-tailwind-starter/
āāā public/
āāā src/
ā āāā assets/
ā āāā components/
ā ā āāā common/
ā ā āāā layout/
ā āāā configs/
ā āāā constants/
ā āāā containers/
ā āāā contexts/
ā āāā hooks/
ā āāā layouts/
ā āāā pages/
ā āāā redux/
ā āāā services/
ā āāā styles/
ā āāā utils/
ā āāā App.jsx
ā āāā main.jsx
ā āāā RouterTree.js
āāā .editorconfig
āāā .env.example
āāā .eslintignore
āāā .eslintrc.cjs
āāā .gitignore
āāā .prettierignore
āāā .stylelintrc
āāā index.html
āāā jsconfig.json
āāā LICENSE
āāā package.json
āāā postcss.config.js
āāā prettier.config.js
āāā README.md
āāā tailwind.config.js
āāā vite.config.js
āāā yarn.lock
To get started with this template, follow these steps:
Clone the repository:
git clone https://github.com/tcdtist/public-vite-react-tailwind-starter.git
cd public-vite-react-tailwind-starter
Install dependencies:
yarn install
Start the development server:
yarn dev
Open your browser and navigate to http://localhost:8000
to view the application.
You can start building your application by:
src/components
directory.src/pages
directory.src/RouterTree
directory.src/hooks
directory.tailwind.config.js
file to adjust the design system..eslintrc.cjs
to change linting rules.prettier.config.js
for code formatting preferences.vite.config.js
for build optimizations and plugins.Contributions are welcome! If you'd like to contribute, please follow these steps:
This project is licensed under the MIT License. See the LICENSE file for details.