首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
vue项目路由不跳转的问题
vue项目路由不跳转的问题
it
2025-12-03
2
安装了路由模块后没有跳转。
解决:
需要做3件事:
1,配置main.js
2,配置index.js
3,在APP.vue里面加入<router-view> (这个一定要记住)
<template> <div id="app"> <router-view /> </div> </template> <script> export default { name: 'App' } </script>
转载请注明原文地址: https://lol.8miu.com/read-31879.html
最新回复
(
0
)