TraceDash/app/Providers/VoltServiceProvider.php

29 lines
464 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Livewire\Volt\Volt;
class VoltServiceProvider extends ServiceProvider
{
/**
* Register services.
*/
public function register(): void
{
//
}
/**
* Bootstrap services.
*/
public function boot(): void
{
Volt::mount([
resource_path('views/livewire'),
resource_path('views/pages'),
]);
}
}