Vue:This may cause things to work incorrectly. Make sure to use the same version for both.

The error reported is that there are multiple vue versions in use, and the error is caused by incompatibility, as shown in the figure below

As shown in the figure, there are two vue versions

The solution is as follows:

Find the package-lock.json file and delete it. Do not compile or run the code at this time. Next, find the vue version you don’t want and use the search function.

Change them all to one version. For example, I have two versions here, 3.2.36 and 2.6.12. If I don’t want 3.2.36, just change 3.2.36 to 2.6.12.

Just run the code again! !​ 

Guess you like

Origin blog.csdn.net/bbkky/article/details/134540341