23
JunWireUi is a simple, fast, and elegant way to add blade components made with alpine.js and tailwind, ready to use, enjoy the ease.
The WireUI is a library of components and resources to empower your application development with Laravel and Livewire. Starting a new project with Livewire can be time-consuming when you have to create all the components from scratch. Wire UI helps to skip this step and get you straight to the development phase.
Installing WireUI enriches your project with:
composer require wireui/wireui
<html>
<head>
...
<wireui:scripts />
<script src="//unpkg.com/alpinejs" defer></script>
</head>
</html>
Alternatively, you can use the equivalent Blade directive:
...
@wireUiScripts
<script src="//unpkg.com/alpinejs" defer></script>
...
module.exports = {
...
presets: [
...
require('./vendor/wireui/wireui/tailwind.config.js')
],
content: [
...
'./vendor/wireui/wireui/resources/**/*.blade.php',
'./vendor/wireui/wireui/ts/**/*.ts',
'./vendor/wireui/wireui/src/View/**/*.php'
],
...
}
WireUI does not need any additional configuration, but you can publish the files and customize them to your preference.
php artisan vendor:publish --tag='wireui.config'
php artisan vendor:publish --tag='wireui.resources'
php artisan vendor:publish --tag='wireui.lang'
This library has a lot of options.
For more details, Visit its complete documentation here.
Published at : 23-06-2022
I am a highly results-driven professional with 12+ years of collective experience in the grounds of web application development especially in laravel, native android application development in java, and desktop application development in the dot net framework. Now managing a team of expert developers at Codebrisk.
Launch project