Uncaught (in promise) TypeError: l.then is not a function
vue3通过yarn打包
- 打包之前跳转没有问题
- 打包之后 导航栏点击报错
Uncaught (in promise) TypeError: l.then is not a function
吐槽: 官方的锅
要么都不行,要么都行,才是一个好的项目。
route/index.js就是这样用的呀