When we created the project with Vue-cli4, Element’s on-demand. Babelrc configuration file could not be found. In fact, Vue provides a configuration file to modify the configuration file babel.config.js
At this point you can paste the configuration over
But there is a problem with on-demand boot on the official website, and that is the configuration dependency babel-preset- ES2015 is not available
There are two ways to do this: 1. Add dependencies
2. Change dependencies
Then modify the babel.config.js configuration