問題点
Nuxt.js で Sass 記法を使いたいため、node-sass
とsass-loader
をインストールしたが、エラーで動かない!
エラー内容
Module build failed: TypeError:
解決方法
以下をプロジェクト内で実行してください。
npm uninstall --save-dev sass-loader
npm install --save-dev sass-loader@7.1.0
偉大なる参考記事
こちらで議論されていた方法の結論部分だけまとめました。