GitHunt
KE

kepek/webpack-starter

A quick and simple example of using Tailwind CSS with Webpack.

Tailwind CSS Webpack Starter Project

This is an example of a super simple Webpack setup for using Tailwind CSS.

To get started, clone the project and install the dependencies:

# Using npm
npm install

# Using Yarn
yarn

After that, start up Webpack:

webpack --watch

Webpack will watch /src/styles.css and /tailwind.js and rebuild your stylesheet on every change.

You can play around with /index.html to see the effects of your changes.

Contributing

Have a lot of experience with Webpack and suggestions on how we could improve this starter template? We'd love a PR!

Languages

JavaScript98.2%HTML1.6%CSS0.2%

Contributors

MIT License
Created March 11, 2018
Updated July 22, 2020