deatil / larke-admin-frontend

larke-admin-frontend 是基于 element-ui 和 vue2 的 larke-admin 前端项目
Apache License 2.0
78 stars 23 forks source link

[vue-router] "path" is required in a route configuration #1

Closed ijijni closed 3 years ago

ijijni commented 3 years ago

按照你的方法操作后,在登录界面点登陆后,跳转到dashboard的时候老提示[vue-router] "path" is required in a route configuration,你有出现过这个问题吗,排查发现是路由加载报错。[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode function,解决了很久也没搞定 image

ijijni commented 3 years ago

要是你也能用的话,我怀疑是环境造成的。能说说你的运行环境吗,node使用的哪个版本,npm使用的哪个版本

deatil commented 3 years ago

编译环境

deatil commented 3 years ago

你这个报错好像是版本跟vue-element-admin需要的版本有出入

deatil commented 3 years ago

看他们的说法是你编译用了严格模式,这个版本有些没有用严格模式,需要编译取消严格模式