tailwind-vue-preset Tailwind Templates

Tailwind Vue Preset

A Laravel frontend preset with TailwindCSS, PurgeCSS and Vue.js

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

Top categories

Loading Svelte Themes