浏览器报错:Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)

背景:使用vue2框架与ElementUI组件编写项目

问题原因: 引入vue的代码段顺序不当导致的。

解决方法:导入时将ElementUI放在前面

浏览器报错:Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)_第1张图片

你可能感兴趣的:(开发语言,vue,javascript)