Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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' ); } ); } } ```
- Loading branch information