1, an error report regeneratorRuntime is not defined error
.babelrc Configuration
{ // https://babeljs.io/docs/en/babel-plugin-transform-runtime#options "plugins": [ "@babel/plugin-transform-runtime" ], // https://babeljs.io/docs/en/babel-plugin-transform-runtime#options "presets": [ [ "@babel/preset-env" ] ] }
npm install
npm i @babel/plugin-transform-runtime @babel/preset-env @babel/runtime --save-dev
version
"devDependencies": { "@babel/plugin-transform-runtime": "^7.7.6", "@babel/preset-env": "^7.7.7", "@babel/runtime": "^7.7.7" },