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.
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.
You can use
npm install <package>@<version>
However, if you have components you have to update their code also.
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