TraceDash/app/Providers/VoltServiceProvider.php

29 lines
464 B
PHP
Raw Permalink Normal View History

2023-11-24 15:56:12 +01:00
<?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'),
]);
}
}