webpack-tailwind-starter Tailwind Templates

Webpack Tailwind Starter

A lightweight frontend development starter with webpack and Tailwind CSS integration. Provides a pre-configured environment for building modern web applications with hot reloading, CSS processing, and utility-first styling.

webpack-tailwind-starter

A lightweight frontend development starter with webpack and Tailwind CSS integration. Provides a pre-configured environment for building modern web applications with hot reloading, CSS processing, and utility-first styling.

Features

  • šŸš€ Webpack 5 bundling
  • šŸ’Ø Tailwind CSS v4 integration
  • šŸ”„ Hot module replacement
  • šŸ“± Responsive design ready
  • šŸŽØ PostCSS processing

Prerequisites

  • Node.js (v18 or higher)
  • npm (v10 or higher)

Getting Started

Clone the repository

git clone https://github.com/paagr/webpack-tailwind-starter.git
cd webpack-tailwind-starter

Install dependencies

npm install

Start development server

npm start

This will start the development server and open your browser at http://localhost:8080.

Build for production

npm run build

Production files will be generated in the dist directory.

Project Structure

webpack-tailwind-starter/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.html     # HTML template
│   ā”œā”€ā”€ index.js       # JavaScript entry point
│   └── styles.css     # Main stylesheet with Tailwind imports
ā”œā”€ā”€ .gitignore
ā”œā”€ā”€ package.json
ā”œā”€ā”€ package-lock.json
ā”œā”€ā”€ postcss.config.mjs # PostCSS configuration
ā”œā”€ā”€ webpack.config.js  # Webpack configuration
└── README.md

License

MIT

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Top categories

Loading Svelte Themes