Vue is a constructor and should be called with the `new` keyword

错误信息:Vue is a constructor and should be called with the `new` keyword原因:在vue项目中使用第三方依赖,当依赖不是vue插件而又了使用Vue.use的时候,会报此错误;解决方法: 1 import Vue from 'vue' 2
posted @ 2020-05-15 16:04  keRee  阅读(1655)  评论(0编辑  收藏  举报