warning in ./src/main.js 8:8-17 "export 'default' (imported as 'VueRouter

warning in ./src/main.js 8:8-17 "export 'default' (imported as 'VueRouter') was not found in 'vue-router'

解决方法
Vue Router v3对应Vue2.x, v4对应Vue3,

cnpm install vue-router@3 or 4

这样就不会报错

上一篇:ROS工作空间下安装-编译ORB_SLAM2


下一篇:在Eclipse中安装spket插件