This template has been configured with all of the tools required to create a React Application using TypeScript and TailwindCSS with Vite.
git clone https://github.com/nrabhiram/vite-react-ts-tailwind-template.git
npm install
to install all of the project's dependenciesnpm run build
npm run dev
Create a CSS Module file by following the naming convention - <Component>.module.css
Use the @apply
directive in your CSS class definitions to use Tailwind's utility classes into your own custom CSS
.app-heading {
@apply text-5xl font-semibold mb-4;
}
Import the CSS Module file into the React component file
prettier-format
- run the autoformatterlint
- run the lintertest
- run the specstest-filter <spec-name>
- run a specific speccoverage
- get a coverage report of the specsbuild
- build the project files for distributiondev
- run the local development serverFeel 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.