Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

A static HTML starter template using TailwindCSS with Laravel Mix, PostCSS and PurgeCSS

License

Notifications You must be signed in to change notification settings

parfaitementweb/tailwind-mix-starter

Repository files navigation

Tailwind CSS Laravel Mix (PostCSS) Starter Project

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

  • TailwindCSS 2.1
  • Laravel Mix 6 (Webpack)
  • PostCSS
  • PostCSS Nested
  • PostCSS Import

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!

About

A static HTML starter template using TailwindCSS with Laravel Mix, PostCSS and PurgeCSS

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages