While Laravel does not dictate which JavaScript or CSS pre-processors you use, it does provide a basic starting point using Bootstrap or Tailwindcss, React, and / or Vue that will be helpful for many applications. By default, Laravel uses NPM to install both of these frontend packages.
If you wish to use Tailwind CSS in your project and not Bootstrap and jQuery, it is for you! Also, You will have Tailwind classes styling the initial blade files, but neither Bootstrap nor plain css!
This package won't install Bootstrap and jQuery, or remove them if they are already installed if you explitly specify Tailwindcss!
You just need to add --front=tailwindcss
to have tailwind as front-end framework!
// In addition to the original artisan commands, you can use tailwindcss scaffolding...
php artisan ui tailwindcss
php artisan ui vue --front=tailwindcss
// Generate login / registration scaffolding...
php artisan ui tailwindcss --auth
php artisan ui vue --auth --front=tailwindcss
It is for my personal use but I tried to not break the other functionalities of the package.
So, it suppose to work as normal (install bootstrap and jQuery) if you dont mention --front=tailwindcss
Documentation can be found on the Laravel website.
Thank you for considering contributing to UI! The contribution guide can be found in the Laravel documentation.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
Please review our security policy on how to report security vulnerabilities.
Laravel UI is open-sourced software licensed under the MIT license.
- React styles may be messy!