fix(provier): menyesuaikan view composer
This commit is contained in:
parent
469fc0e3a1
commit
adf1d6ef0f
@ -11,7 +11,7 @@ class ViewServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
View::composer('*', function ($view) {
|
View::composer(['components.layouts.*', 'livewire.*'], function ($view) {
|
||||||
$sidebar = [
|
$sidebar = [
|
||||||
[
|
[
|
||||||
'heading' => 'Dasbor',
|
'heading' => 'Dasbor',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user