我期望的效果是一个在app.vue下的helloworld页面中,有两个按钮,分别有按钮跳转到write和index,但我在helloword中写了<router-link>到write和index并没有作用,应该如何配置,求大神帮帮,最好附一下代码
我期望的效果是一个在app.vue下的helloworld页面中,有两个按钮,分别有按钮跳转到write和index,但我在helloword中写了<router-link>到write和index并没有作用,应该如何配置,求大神帮帮,最好附一下代码
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
2 回答4.7k 阅读✓ 已解决
4 回答4.3k 阅读✓ 已解决
怎么跳转就不用我写了吧,跳转的方式官网上有,用路径或者name都可以的:https://router.vuejs.org/zh-c...