You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use paths from object property, not local variable (#95)
Volt is already doing the work to save multiple component paths, we just need to use those saved paths when setting up the namespace.
This provides support for easily adding paths to components in custom packages like:
```php
use Illuminate\Support\ServiceProvider;
use Livewire\Volt\Volt;
class PackageServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application services.
*/
public function boot()
{
$this->app->booted( function() {
Volt::mount( __DIR__.'/../resources/views/livewire' );
} );
}
}
```
0 commit comments