Failed to resolve directive: link

Failed to resolve directive: link的原因是vue route 2.0取消了v-link写法。最新的写法是

<router-link to="/goods">商品</router-link>
0 thoughts on “Failed to resolve directive: link”

发表评论

电子邮件地址不会被公开。 必填项已用*标注