A minimal, fast, and modern web development starter kit using Parcel, Preact, TypeScript, and Tailwind CSS.
Clone this repo and install dependencies:
# Clone this repo
git clone https://github.com/schrojf/parcel-preact-ts-tailwindcss-template.git
cd parcel-preact-ts-tailwindcss-template
# Install dependencies
npm install
# Start development server
npm start
# Build for production
npm run buildOpen http://localhost:1234 in your browser to see the app.
npm start– Start development server with hot reloadnpm run build– Build optimized production bundlenpm run lint– Run ESLint to check code qualitynpm run lint:fix– Fix ESLint issues automaticallynpm run check– Run TypeScript type checking
- ⚡ Parcel - Zero-config bundler with fast builds
- ⚛️ Preact - Fast 3kB alternative to React
- 🧠 TypeScript - Type-safe JavaScript development
- 🎨 Tailwind CSS - Utility-first CSS framework
- 📝 ESLint - Code linting and formatting
- 🔧 Modern Tooling - Latest development tools and practices
my-parcel-app/
├── src/
│ ├── app.tsx # Main application component
│ ├── main.tsx # Application entry point
│ ├── index.html # HTML template
│ ├── style.css # Global styles
│ └── assets/ # Static assets
├── .postcssrc # PostCSS configuration
├── tailwind.config.js # Tailwind CSS configuration
├── tsconfig.json # TypeScript configuration
└── eslint.config.js # ESLint configuration
This starter includes useful Tailwind CSS plugins:
- @tailwindcss/typography - Beautiful typography styles
- @tailwindcss/forms - Better form element styling
- @tailwindcss/aspect-ratio - Aspect ratio utilities
This is my personal minimal starter kit for building modern web applications. It's designed to be:
- Minimal - Only essential dependencies
- Fast - Optimized for development speed
- Modern - Latest tools and best practices
- Type-safe - Full TypeScript support
- Maintainable - Clean, well-structured code
This project is licensed under the MIT License.