DEV Community

Discussion on: Handling Dialogs with Vue Router

Collapse
 
adamorlowskipoland profile image
Adam

This was very mind oppenning, thanks ;-)

BTW
Since dialog is expected to be on top, code would be more semantinc if you put router-view named dialog at the end in template.

<router-view></router-view>
<router-view name="dialog"></router-view>
Collapse
 
berniwittmann profile image
Bernhard Wittmann

Yes you're right, that this would be better semantically. However, since you need to apply some css to make it look like a dialog it's not that big of a deal

Collapse
 
adamorlowskipoland profile image
Adam

Agree ;-)