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.
Asked
Active
Viewed 1.2k times
6
-
You can choose Vue version when a new project is initialized with Vue CLI – Estus Flask Feb 24 '22 at 07:14
2 Answers
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