This package extends the Laravel form builder with tailwind 2 templates.
Laravel form builder must be installed.
Via Composer
composer require stfr/laravel-form-builder-tailwind2
Publish config & templates (Will overwrite the Laravel form builder's original config and views)
php artisan vendor:publish --tag=laravel-form-builder-tailwind2
Or publish horizontal form
php artisan vendor:publish --tag=laravel-form-builder-tailwind2-horizontal
If it doesn't work, you can add
--force
attribute. BUT, the original Laravel form builder's config and views in your repository CAN NOT be retrieved. Please think twice.