For your own usewebpack
Set upvue
The project installed a series of dependenciesbabel
Thebabel-core
babel-loader
babel-preset-env
Three dependencies.
After that, I couldn’t run and said I was short of it.@babel/core
Module, npm install later.
babel
It’s also written on the official website about installation.babel-core
, did not mention@babel/core
Excuse me@babel/core
Andbabel-core
What is the difference between the two?
After 7.0, the package name was upgraded to @babel/core. My understanding,
@babel
It is equivalent to an official mark, which is different from the previous name.