Render ViewComponent in Blade by classname? #33534
              
                
                  
                  
                    Answered
                  
                  by
                    driesvints
                  
              
          
                  
                    
                      cao-minh-duc
                    
                  
                
                  asked this question in
                General
              
            -
| 
         Is there any way to render ViewComponent in Blade like @spatie ViewComponent Example: Directive @render(App\Http\View\MyComponent::class)  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            driesvints
          
      
      
        Jul 14, 2020 
      
    
    Replies: 1 comment 1 reply
-
| 
         No. You need Spatie's package for that.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        GrahamCampbell
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
No. You need Spatie's package for that.