6

I am using Vue3 for studying but it cannot support Vuetify library. So I need to downgrade it to version 2. How can I do that? Vue3 is not installed in global. And vue-cli is installed in global, which is version 4.5.15.

VVD
  • 178
  • 1
  • 9
bodyMist
  • 93
  • 1
  • 1
  • 6

2 Answers2

4

You can use

npm install <package>@<version>

However, if you have components you have to update their code also.

gguney
  • 2,512
  • 1
  • 12
  • 26
2

1 INSTALL VUE JS 2

npm install vue@2.x.x

2 UPDATE YOUR VUE-LOADER

npm update vue-loader

3 if it is not installed, install it

npm i vue-loader

4 install vue/compiler-sfc

npm add vue@next
npm add @vue/compiler-sfc -D