我安装了最新版本的 Nuxt(2.14.6),但运行 nuxt 命令时遇到了一个错误,我希望能够消除这个错误:
WARN Though the "loose" option was set to "false" in your @babel/preset-env co
The "loose" option must be the same for @babel/plugin-proposal-class-properties,
["@babel/plugin-proposal-private-methods", { "loose": true }]
to the "plugins" section of your Babel config.
我假设需要在nuxt.config.js文件中覆盖babel配置,但是我没有找到任何有用的解决方案。