You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Alex Louden b6702363ea
3 years ago
react v0.0.6 3 years ago
src Added a few extra keywords 3 years ago
.gitignore v0.0.2 3 years ago
LICENSE Added eleventy + tailwind boilerplate 3 years ago Added eleventy + tailwind boilerplate 3 years ago
createZip.js Updated zip folder name 3 years ago
package.json Changed run command 3 years ago
postcss.config.js Added next batch of icons 3 years ago
tailwind.config.js Got all options working for copying and downloading 3 years ago
webpack.config.js Added keywords, added link button 3 years ago
yarn.lock Moved icons, setup download all button 3 years ago

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

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


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