Vue-Router 错误
Uncaught (in promise) TypeError: api.now is not a function
at eval (vue-router.esm-bundler.js?6c02:2489:1)
at eval (vue-router.esm-bundler.js?6c02:3296:1)
at Array.forEach (<anonymous>)
at triggerError (vue-router.esm-bundler.js?6c02:3296:1)
at eval (vue-router.esm-bundler.js?6c02:3037:1)
解决方案
- 删除 node_modules
- 重新安装依赖
npm i
网友评论