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

错误信息:
Vue is a constructor and should be called with the new keyword

Reason:
When using third-party dependencies in the vue project, this error will be reported when the dependency is not a vue plug-in but Vue.use is used;
solution: because my project is caused by the introduction of jquery, there are problems, so After I deleted the sentence Vue.use(jquery), the problem was solved

Supongo que te gusta

Origin blog.csdn.net/qq_44114147/article/details/123782375
Recomendado
Clasificación