Loading repository data…
Loading repository data…
pamelasantoss / repository
A minimal starter boilerplate for building TypeScript applications with Vite and Tailwind CSS.
This repository is a minimal starter boilerplate for building React applications with TypeScript using Vite and Tailwind CSS. It provides a small, well-configured base including build, linting and formatting scripts so you can quickly scaffold components and start development.
Note — HMR (Hot Module Replacement): This template uses Vite's HMR to update modules without a full page reload, which speeds up development and can preserve application state when possible. For React,
@vitejs/plugin-reactintegrates React Fast Refresh to help preserve component state. See Vite docs: https://vitejs.dev/guide/features.html#hot-module-replacement
What this boilerplate provides out of the box:
Vite (npm run dev)src/)src/styles/index.csssrc/App.tsx and entry point in src/main.tsxdev, build (executes tsc -b && vite build), lint, format and previewprepare script present for Husky (git hooks initialization if configured)git clone https://github.com/pamelasantoss/boilerplate-vite-tailwind.git
cd boilerplate-vite-tailwind
npm install
npm run dev
Open http://localhost:5173 in your browser.
npm run build
npm run preview
src/
App.tsx — example componentmain.tsx — application entry pointstyles/index.css — Tailwind CSS entryvite.config.ts — Vite configurationtailwind.config.js — Tailwind configurationpostcss.config.js — PostCSS + Autoprefixer configurationeslint.config.js — ESLint configurationpackage.json — scripts and dependenciesThis boilerplate aims to help developers learn and practice:
dev, build, preview)ESLint and PrettierHusky for improved code quality (optional)Note: This is a minimal starter template — it does not include routing examples, tests, or CI workflows by default.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Pamela Santos