Skip to content

mumairofficial/tailwind-webpack-starter

Repository files navigation

Tailwind Starter Project based upon Webpack 4.x

Tailwind starter template based upon webpack 4.20.0

Demo

capture

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

# Using npm
npm install

# Using Yarn
yarn

After that, start up Webpack Development Server:

npm run dev

Webpack Development Server 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.

To build a production bundle run:

npm run prod

After that you will have a ready to deploy bundle at /dist