moukbel
181
1
Vue

<RouterLink> Cannot read property 'resolve'

Posted 1 month ago by moukbel

hi, I'm trying to use to set the correct menu as active when I click it, and I'm getting this error, anyone knows what it's mean?


Error in render: "TypeError: Cannot read property 'resolve' of undefined"

found in

---> <RouterLink>

app,js

import VueRouter from 'vue-router';
Vue.use(VueRouter);

slidebarMenu.js

<nav id="sidebar"  >
    <ul class="list-unstyled components" >
        <li >        
            <router-link to="/cpanel/orders">Orders</router-link>
        <li >
             <router-link to="/cpanel/products"></router-link>
        </li>
   </ul>
</nav>

thanks

Please sign in or create an account to participate in this conversation.