Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install vue.js version 2

Tags:

vue.js

vuejs2

I want to install version 2 of vue.js to use vuetify. However, I don't know the command for that. Could someone pass the command to me please

like image 474
GobsRuiz Avatar asked Sep 03 '25 16:09

GobsRuiz


2 Answers

If you are looking for a specific version of Vue2 you can run the following command with npm: npm install [email protected] or if you want the latest, simply npm install vue.

For vue3 it is: npm install vue@next

like image 69
inerpiece Avatar answered Sep 05 '25 14:09

inerpiece


Сreated a new Vue.js project using Vue CLI. Select during installation Vue2

vue create my-app
# navigate to new project directory
cd my-app

Add vuetify

vue add vuetify
like image 37
Oleksii Zelenko Avatar answered Sep 05 '25 14:09

Oleksii Zelenko