Laravel Mix plugin for generating a styleguide for your Tailwind project
Switch branches/tags
Nothing to show
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/js
src
views
.gitignore
LICENSE
README.md
package.json
screenshot.png
yarn.lock

README.md

Tailwind Styleguide for Laravel Mix

This extension adds a styleguide for your Tailwind apps in Mix.

Tailwind Styleguide

Usage

First install the extension

npm install laravel-mix-talilwind-styleguide

Then you can require it within your webpack.mix.js file

let mix = require('laravel-mix');

require('laravel-mix-tailwind-styleguide');

mix.js('resources/assets/js/app.js', 'public/js')
  .sass('resources/assets/sass/app.scss', 'public/css')
  .tailwindStyleguide();

Once this has been done, running either npm run watch or npm run dev will start up a local HTTP server at http://localhost:8888/.