diff --git a/README.md b/README.md index 28302fb..215066d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+diff --git a/src/AuthServiceProvider.php b/src/AuthServiceProvider.php index d83b02d..91b4cc7 100644 --- a/src/AuthServiceProvider.php +++ b/src/AuthServiceProvider.php @@ -2,9 +2,10 @@ namespace Devdojo\Auth; +use Illuminate\Support\Facades\File; use Illuminate\Support\ServiceProvider; use Laravel\Folio\Folio; -use Illuminate\Support\Facades\File; +use Livewire\Volt\Volt; class AuthServiceProvider extends ServiceProvider { @@ -23,6 +24,7 @@ public function boot() $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); $this->registerAuthFolioDirectory(); + $this->registerVoltDirectory(); if ($this->app->runningInConsole()) { $this->publishes([ @@ -61,6 +63,12 @@ private function registerAuthFolioDirectory(){ } } + private function registerVoltDirectory(){ + Volt::mount([ + __DIR__ . '/../resources/views/pages' + ]); + } + /** * Register the application services. */