TailwindCSS-Webpack4-Starter-Template Tailwind Templates

Tailwindcss Webpack4 Starter Template

A starter template for TailwindCSS using Webpack 4, PurgeCSS, and more!

Tailwind CSS Webpack 4 Starter Project

This is an example of a Webpack 4 setup for using Tailwind CSS. The example app includes hot module replacement, PurgeCSS, Autoprefixer, and more!

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

NPM and Yarn

Install the dependencies

# NPM
npm install

# Yarn
yarn

To build for development

# NPM
npm build:dev

#Yarn
yarn build:dev

To build for production

# NPM
npm build

# Yarn
yarn build

To watch for changes

# NPM
npm run start

# Yarn
yarn start

Contributing

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Issues

Feel free to submit issues and enhancement requests!

Acknowledgements

Most of the code from this project was created from forking Tailwindcss/webpack-starter and azdanov/tailwind-starter.

Top categories

Loading Svelte Themes