app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        Blade::component('component.aside', 'aside');
        Blade::component('component.main', 'main');
        Blade::component('component.message', 'message');
        Blade::component('component.letters-area-parts', 'lettersareaparts');
        Blade::component('component.section-title', 'sectiontitle');
        Blade::component('component.common-btn', 'commonbtn');
        Blade::component('component.syouhin-parts', 'syouhincontainer');
    }
public function boot ( ) { Blade :: component ( 'component.aside' , 'aside' ) ; Blade :: component ( 'component.main' , 'main' ) ; Blade :: component ( 'component.message' , 'message' ) ; Blade :: component ( 'component.letters-area-parts' , 'lettersareaparts' ) ; Blade :: component ( 'component.section-title' , 'sectiontitle' ) ; Blade :: component ( 'component.common-btn' , 'commonbtn' ) ; Blade :: component ( 'component.syouhin-parts' , 'syouhincontainer' ) ; }
Bootstrap any application services.
Bootstrap any application services .
// コンポーネントのエイリアス設定