Skip to content
A static HTML starter template using TailwindCSS with Laravel Mix, PostCSS and PurgeCSS
CSS HTML JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
resources/assets/css
.gitignore
LICENSE
README.md
package-lock.json
package.json
postcss.config.js
tailwind.config.js
webpack.mix.js

README.md

Tailwind CSS Laravel Mix Starter Project

We use this as a starter template to quickly develop static HTML pages with :

  • TailwindCSS
  • Laravel Mix (Webpack)
  • PostCSS
  • PostCSS Nested
  • PurgeCSS

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

npm install

After that, start up Laravel Mix:

npm run dev
# to watch changes
npm run watch

Base Tailwind CSS file is under /resources/assets/css/styles.css
Root HTML file is under /public/index.html

To build a production bundle run:

npm run prod

After that you will have a ready to deploy at /public

Contributing

Don't hesitate to join and PR!

You can’t perform that action at this time.