vue 使用 scss

2021-01-17 02:11

阅读:480


Module build failed: TypeError: loaderContext.getResolve is not a function
    at getWebpackImporter (C:\Users\pc\Desktop\npm i element-ui -S\element-w\node_modules\_sass-loader@9.0.2@sass-loader\dist\utils.js:274:37)
    at Object.loader (C:\Users\pc\Desktop\npm i element-ui -S\element-w\node_modules\_sass-loader@9.0.2@sass-loader\dist\index.js:42:61)

 @ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-469af010","scoped":true,"hasInlineConfig":false}!./node_modules/_sass-loader@9.0.2@sass-loader/dist/cjs.js?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/components/HelloWorld.vue 4:14-394 13:3-17:5 14:22-402
 @ ./src/components/HelloWorld.vue
 @ ./src/router/index.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8082 webpack/hot/dev-server ./src/main.js


评论


亲,登录后才可以留言!