How to handle adding dynamic router components #1768
-
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            LinusBorg
          
      
      
        Mar 31, 2023 
      
    
    Replies: 1 comment
-
| 
         This is not possible directly, and likely won't be in the future. The next best thing you can do is to have a small wrapper component as the route component, and that component can then load /create async components with vue core's   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        zwb0619
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    


This is not possible directly, and likely won't be in the future.
The next best thing you can do is to have a small wrapper component as the route component, and that component can then load /create async components with vue core's
defineAsyncComponent()