This is a boilerplate for building robust applications using React, Vite, and Tailwind CSS. It provides a solid foundation to kickstart your development process with modern tools and best practices.
- React: A JavaScript library for building user interfaces.
- Vite: A fast build tool that provides a smooth development experience.
- Tailwind CSS: A utility-first CSS framework for rapid UI development.
- Testing: Built-in support for testing with Jest and React Testing Library.
- Linting and Formatting: ESLint and Prettier for maintaining code quality.
Make sure you have the following installed:
- Node.js (version 14 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/colomeramonica/vite-react-app-boilerplate.git
-
Navigate to the project directory:
cd vite-react-app-boilerplate
-
Install the dependencies:
npm install
or
yarn install
To start the development server, run:
npm run dev
or
yarn dev
Open your browser and navigate to http://localhost:3000
to see your app in action.
To build the app for production, run:
npm run build
or
yarn build
The built files will be output to the dist
directory.
To run the tests, use:
npm test
or
yarn test
To lint your code, run:
npm run lint
or
yarn lint
To format your code, run:
npm run format
or
yarn format
Contributions are welcome! Please open an issue or submit a pull request for any improvements or features.
This project is licensed under the MIT License. See the LICENSE file for details.