fixed design components

This commit is contained in:
Edward Yang 2022-07-08 17:41:33 +08:00
parent d87063e6e5
commit 0996412787
1 changed files with 8 additions and 0 deletions

View File

@ -13,6 +13,9 @@ use Beike\Shop\View\Components\AccountSidebar;
class ShopServiceProvider extends ServiceProvider
{
/**
* @throws \Exception
*/
public function boot()
{
$uri = request()->getRequestUri();
@ -78,6 +81,11 @@ class ShopServiceProvider extends ServiceProvider
View::share('categories', $menuCategories);
}
/**
* 加载首页 page builder 相关组件
*
* @throws \Exception
*/
protected function loadDesignComponents()
{
$viewPath = base_path() . '/beike/Shop/View';