vue.runtime.esm.js?2b0e:619 [Vue warn]: Missing required prop: "to"found in
vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: "TypeError: Cannot read property '_normalized' of undefined"
TypeError: Cannot read property '_normalized' of undefined
出现以上错误
第一我自己先检查了自己的路由,是否写有错误
第二看自己的App.vue
<template>
<div id="app">
<router-link></router-link>
</div>
</template>
原因是写错 <router-link></router-link>而是写 <!-- <router-view></router-view> --> 就好了