Getting started with Vue: (Stepping on the pit: Vue4.5.6 introduces elementui)

1## I chose the 3.x version of Vue.js when I created the project with the v4.5.6 version of Vue scaffolding today. Then I report an error when I want to introduce elementui
Insert picture description here

The browser displays a blank check report error as shown in the figure

And when I removed the element-related package and it ran normally, I found that the original v4.5.6 version of the instance object was different

Insert picture description here
Insert picture description here

So I checked the Internet and found that there were friends who encountered the same problem. They finally solved it successfully by deleting the current version and downloading the adapted version. When I thought I was out of the pit, after trying it, I still reported an error. I was deeply desperate. , Decided to re-create the 2.x version. If you have a solution, please leave a message.

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43522998/article/details/110508090