Go to file
Corey 9c0f90ef23 Added gitignore 2020-05-25 18:07:28 +08:00
src Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
.gitignore Added gitignore 2020-05-25 18:07:28 +08:00
LICENSE Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
README.md Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
package-lock.json Added gitignore 2020-05-25 18:07:28 +08:00
package.json Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
postcss.config.js Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
tailwind.config.js Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
webpack.config.js Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00
yarn.lock Added eleventy + tailwind boilerplate 2020-05-25 18:01:32 +08:00

README.md

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 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

Contributing

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