一、vue-router基本认识
1、如何在项目中安装,并简单使用vue-router?



2、如何给router配置默认路径?配置错误页面提示?




3、说一说,vue-router的history模式和hash模式有啥不同?

4、路由懒加载?(重点,首屏分包,加快载入速度)


5、什么是动态路由?(能回忆起来有这么个东西即可)



6、路由嵌套?(了解)


二、代码中使用路由
1、代码路由基本跳转?

2、代码路由传参?

本文标题:Vue3+TS Day22 - vue-router、基本使用、
本文链接:https://www.haomeiwen.com/subject/jkomfrtx.html
网友评论