adding css and js file in laravel 5.3

前端 未结 4 1022
萌比男神i
萌比男神i 2021-02-14 10:06

I want to include a css all css and js in single page and load it in all page.Now If I want to include bootstrap.css and bootstrap.js in welcome page I have included in welcome

4条回答
  •  离开以前
    2021-02-14 10:40

    Crate header.blade.php

    
    
      
        
        
        
        
        
        
    
        dhinchakwale
        
        
    
        
        
    
            
          
        
    
        
        
        
    
        
            
      
    
      
        
        
    @yield('content')

    And use like this First extends header Second Section of your content

    @extends('layouts.header')
    @section('content')
      

    Hello

    @stop

提交回复
热议问题