Skip to content

Commit

Permalink
Adding tag shopper-views (#237)
Browse files Browse the repository at this point in the history
* add publish tag shopper-views

---------

Co-authored-by: Carmine Di Gruttola <[email protected]>
  • Loading branch information
cdigruttola and Carmine Di Gruttola authored Jul 18, 2024
1 parent bd64eec commit 1e12a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/admin/src/ShopperServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ public function packageRegistered(): void
$this->app->scoped('shopper', fn (): ShopperPanel => new ShopperPanel());

$this->loadViewsFrom($this->root . '/resources/views', 'shopper');
$this->publishes([$this->root . '/resources/views' => $this->app->resourcePath('views/vendor/shopper')], 'shopper-views');
}

public function bootingPackage(): void
Expand Down

0 comments on commit 1e12a46

Please sign in to comment.