How to import Laravel Jetstream's Livewire assets
When you want to customize Laravel Jetstream's look and feel, you'll need to import the assets. This article shows you how to import the Livewire ones.
Run the following command to import Laravel Livewire assets:
php artisan vendor:publish --tag=jetstream-views
lang-bash
This will create new directories in /views/vendors/jetstream.
To see a practical application of that, in My Blog the SVG file in this file was changed:
application-mark.blade.php
The new contents is this:
<img class="w-10 h-10" src='/img/logo.png'>
lang-html
Tagged: laravel
Updated: 2 years ago