Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see which Vue Version is installed in Laravel and how to update?

In package.json I see the line: "vue": "^2.1.10", but doing npm update I see: [email protected].

Which Vue version is installed in my Laravel App? Is there another way to see it?

And how would you update Vue to Version 2.5.13 if it is still on 2.1.10?

like image 344
Philipp Mochine Avatar asked Jan 29 '23 23:01

Philipp Mochine


1 Answers

Go to package.json under dependencies you can find "vue": "^2.1.10" if you wish to change version, just edit to the version you want and run npm update or npm install

Or if you wish to do it through npm then

npm remove vue

npm install [email protected] --save
like image 63
Leo Avatar answered Feb 05 '23 14:02

Leo