ERROR Failed to compile with 3 errors
These dependencies were not found:
* core-js/modules/es.object.to-string.js in ./src/router/index.js
* core-js/modules/es.string.iterator.js in ./src/router/index.js
* core-js/modules/web.dom-collections.iterator.js in ./src/router/index.js
To install them, you can run: npm install --save core-js/modules/es.object.to-string.js core-js/modules/es.string.iterator.js core-js/modules/web.dom-collections.iterator.js
错误是这个!
这个意思是在router找不到core-js,所以需要重新安装一下
npm install --save core-js
随后重启服务
yarn serve 或npm run serve