Module build failed (from ./node_modules/babel-loader/lib/index.js)

2022-09-08 16:37:09 浏览数 (2)

解决 npm install -D babel-loader @babel/core @babel/preset-env

代码语言:javascript复制
{
    "presets":[
        "@babel/preset-env"
    ],
    "plugins":["transform-vue-jsx"]
}

0 人点赞