- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5k
Closed
Labels
Milestone
Description
It would be very nice to have named outlet support.
It's mostly to have easy modals support and being able to write something like:
<body>
<div>
   <router-view name="modal"></router-view>
</div>
<router-view ></router-view>
</body>router.map({
    '/somewhere/': {
        component: Somewhere,
        subRoutes: {
            'action/': {
                 component: Modal,
                 outlet: 'modal'
            }
        }
    }
});Then, routing to /somewhere/action/ should bring the Somewhere component and display the modal over.
My case is for modal, but I think whenever you have an outer layout with multiple reusable slots, a single outlet is not sufficient.
If there is already a way of doing this, I'm interested in.
nonamenix, nicolasparada, thomaux, dantodev, yaronyosef and 2 more