webpack-tailwind-babel-boilerplate is a fully configured boilerplate repository with webpack, Babel and Tailwind CSS as well as all of the required loaders.
webpack-tailwind-babel-boilerplate consists of 2 webpack configs - production and development. This repo uses webpack caching and Tailwind purge to delete unused CSS and keep the distribution files small.
Clone the repository.
Run `npm install` inside the cloned repository.
When developing, use npm run start-dev
to run webpack-dev-server.
To build your application use npm run build
. Keep in mind that building the app deletes unused Tailwind classes.