vue3 脚手架@vue/cli4.5出现: Object(...) is not a function,history: createWebHashHistory()报错
强中自有强中手,中看不中用,管你哪来头!上菜:调料分析:由上述菜肴可知,history: createwebHashHistory() 来自原料 vue-router,原料需要更换新品测试npm install vue-router --save# + vue-router@3.5.2# 升级修复npm install vue-router@next# + vue-router@4.0.10升级后
·
强中自有强中手,中看不中用,管你哪来头!
上菜:
调料分析:由上述菜肴可知,history: createwebHashHistory() 来自原料 vue-router,原料需要更换新品测试
npm install vue-router --save
# + vue-router@3.5.2
# 升级修复
npm install vue-router@next
# + vue-router@4.0.10
升级后,重新煮菜,嗯,符合胃口!
搞定收工!
更多推荐
已为社区贡献1条内容
所有评论(0)