This commit is contained in:
2025-03-07 07:25:36 -06:00
parent 3a04878ec2
commit 099267ee07
2 changed files with 5 additions and 85 deletions

View File

@ -67,6 +67,10 @@ class VuexyAdminServiceProvider extends ServiceProvider
Blade::componentNamespace('VuexyAdmin\\View\\Components', 'vuexy-admin');
// Register the migrations
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
// Publicar los archivos necesarios
$this->publishes([
__DIR__.'/../config/fortify.php' => config_path('fortify.php'),
@ -84,10 +88,6 @@ class VuexyAdminServiceProvider extends ServiceProvider
], 'vuexy-admin-images');
// Register the migrations
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');
// Registrar eventos
Event::listen(Login::class, HandleUserLogin::class);
Event::listen(Logout::class, ClearUserCache::class);