I am trying to get an app up and running with Vue 2 and everything was fine until I tried using the node-sass
and sass-loader
packages. I started getting errors and after investigation, it looks like I need to be using webpack
5+ for the latest node-sass
package to work. After poking around it looks like when I created the project it defaulted to webpack
version 4.46.0.
I updated my vue-cli
to the latest version as per the instructions on the official page and then tried re-initializing a new project and still have the same issue. Currently, I have @vue/cli 4.5.12
which looks to be the latest (I think).
I am initializing the app with vue create <app-name>
and I am using the default configs. I did find this page which says "migrating from v4" which perhaps implies there might be a higher version of vue-cli
but again I followed all the instructions to no avail, so not sure if I am just missing something here.
I am pretty novice in Vue and not sure what additional info I should provide to make this useful, but I've searched all over and for the life of me cannot figure out what is going on.