Problems encountered when introducing Element
Install command:
vue add element
But when I was using it, it kept displaying an error, so I changed several commands: It still reported an error, and the information was as follows:
Then I changed a command, and still reported an error:
npm i element -ui -S
Later, I asked the boss and said that it might be a problem of version mismatch, so I tried another command and it succeeded:
npm install element-plus --save