ERROR Failed to compile with 1 error 下午1:57:09
error in ./src/views/Main.vue?vue&type=style&index=0&id=c1f1971a&lang=scss&scoped=true&
Syntax Error: TypeError: this.getOptions is not a function
@ ./node_modules/vue-style-loader??ref--9-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--9-o
neOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/Main.vue?vue&type=style&index=0
&id=c1f1971a&lang=scss&scoped=true& 4:14-459 15:3-20:5 16:22-467
@ ./src/views/Main.vue?vue&type=style&index=0&id=c1f1971a&lang=scss&scoped=true&
@ ./src/views/Main.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.199.119:8081&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
因为添加sass导致的可以看下我这篇博客
其他原因就不太清楚了