rickkuilman / tailwind-vue-preset
Laravel frontend preset with TailwindCSS, PurgeCSS and Vue.js
Installs: 155
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 1
Open Issues: 0
Language:JavaScript
This package is auto-updated.
Last update: 2024-10-22 20:32:41 UTC
README
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.