類型錯誤:this.getOptions 不是函數 - TypeError: this.getOptions is not a function

問題:

I am facing a weird error when I installed Bootstrap .我在安裝Bootstrap時遇到了一個奇怪的錯誤。 The error is below.錯誤如下。 I tried uninstalling less-loader and installing [email protected], because I saw it online, but it did nothing.我嘗試卸載less-loader並安裝[email protected],因爲我在網上看到它,但它沒有任何作用。 I am unsure what to do at this step.我不確定在這一步要做什麼。

Syntax Error: TypeError: this.getOptions is not a function語法錯誤:TypeError:this.getOptions 不是函數

 @ ./node_modules/vue-style-loader??ref--8-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!./node_modules/vue-loader-v16/dist/stylePostLoader.js!./node_modules/postcss-loader/src??ref--8-oneOf-1-2!./node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss 4:14-419 14:3-18:5 15:22-427
 @ ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
 @ ./src/App.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://192.168.1.182:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

解決方案:

參考一: https://en.stackoom.com/question/4TH37
參考二: https://stackoom.com/question/4TH37
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章