Skip to content

mobayen/ui

 
 

Repository files navigation

Laravel UI (with Tailwind css option)

Total Downloads Latest Stable Version License

Introduction

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.

About Tilwindcss preset

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!

Usage

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

disclaimer

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

Official Documentation

Documentation can be found on the Laravel website.

Contributing

Thank you for considering contributing to UI! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel UI is open-sourced software licensed under the MIT license.

Known issues

  • React styles may be messy!

About

Laravel UI with Tailwind CSS

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 87.8%
  • JavaScript 6.7%
  • HTML 3.4%
  • Vue 1.1%
  • CSS 1.0%