1.0.3
latest 2.x
Is it possible to pass a 'named route' (of the vue-router) to the NavMenu? I can pass a simple path and it works. I tried passing an object such as {'name':'myNamedRoute'} but with no success. Thanks.
I'm sorry, i missed that "index" is still required and used "route" instead of ":route", here it works:
<el-menu class="el-menu-vertical-demo" theme="dark" :router="true">
<el-menu-item index="1" :route="{name:'dashboard'}">Dashboard</el-menu-item>
<el-menu-item index="2" :route="{name:'streams'}">Streams</el-menu-item>
</el-menu>
@pipejesus Thank you so much for this solution
Most helpful comment
I'm sorry, i missed that "index" is still required and used "route" instead of ":route", here it works: