rickkuilman/tailwind-vue-preset

Laravel frontend preset with TailwindCSS, PurgeCSS and Vue.js

dev-master 2020-03-22 10:17 UTC

This package is auto-updated.

Last update: 2024-10-22 20:32:41 UTC


README

Tailwind Vue PurgeCSS

Tailwind Vue frontend preset

A Laravel 7.x frontend preset including:

  • TailwindCSS, a utility-first CSS framework
  • PurgeCSS, a tool to remove unused CSS
  • Vue.js, a progressive JavaScript framework
  • The option to add compiled assets to .gitignore.
  • An example Vue component with a simple axios request, added to the welcome.blade.php
  • The full TailwindCSS config

Installation

Use the package manager composer to install tailwind-vue-preset.

composer require rickkuilman/tailwind-vue-preset --dev

Usage

Run the following commands to use the preset

# Apply preset
php artisan ui tailwind-vue

# Compile assets
npm install && npm run dev

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT