Vue3中报错“export ‘createWebHistory, createRouter‘ was not found in ‘vue-router‘ vue2的路由书写方式和vue3的写法不一致 报错信息如下: 解决方法:npm install vue-router@next --save