会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
白房子
记录工作中遇到的问题
首页
管理
2021年1月11日
vue3使用路由
摘要: 下载 npm install vue-router@4 配置路由 暴露出一个createRouter方法,用来创建路由对象 通过defineAsyncComponent方法来实现路由的懒加载(文章1.13号更新:正式版本可以不用这个方法) import { defineAsyncComponent
阅读全文
posted @ 2021-01-11 17:57 baifangzi
阅读(1755)
评论(0)
推荐(1)
编辑
公告