vue.esm.js?efeb:628 [Vue warn]: Error in mounted hook: "ReferenceError: Swiper is not defined" found in ---> <HelloWorld> at src/components/HelloWorld.vue <App> at src/App.vue <Root> warn @ vue.esm.js?efeb:628 logError @ vue.esm.js?efeb:1893 globalHandleError @ vue.esm.js?efeb:1888 handleError @ vue.esm.js?efeb:1848 invokeWithErrorHandling @ vue.esm.js?efeb:1871 callHook @ vue.esm.js?efeb:4222 @ vue.esm.js?efeb:3148 invokeHook @ vue.esm.js?efeb:6351 patch @ vue.esm.js?efeb:6570 Vue._update @ vue.esm.js?efeb:3951 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 run @ vue.esm.js?efeb:4557 flushSchedulerQueue @ vue.esm.js?efeb:4313 eval @ vue.esm.js?efeb:1989 flushCallbacks @ vue.esm.js?efeb:1915 Promise.then (async) timerFunc @ vue.esm.js?efeb:1942 nextTick @ vue.esm.js?efeb:1999 queueWatcher @ vue.esm.js?efeb:4405 update @ vue.esm.js?efeb:4547 Vue.$forceUpdate @ vue.esm.js?efeb:3972 eval @ index.js?737e:244 eval @ index.js?737e:242 eval @ index.js?737e:119 eval @ HelloWorld.vue?5a7b:39 eval @ HelloWorld.vue?5a7b:44 ./src/components/HelloWorld.vue @ app.js:1089 __webpack_require__ @ app.js:679 hotApply @ app.js:608 (anonymous) @ app.js:290 Promise.then (async) hotUpdateDownloaded @ app.js:289 hotAddUpdateChunk @ app.js:266 webpackHotUpdateCallback @ app.js:8 (anonymous) @ 0.8bb9befe456cbe09e395.hot-update.js:1 vue.esm.js?efeb:1897 ReferenceError: Swiper is not defined at VueComponent.mounted (HelloWorld.vue?18db:30) at invokeWithErrorHandling (vue.esm.js?efeb:1863) at callHook (vue.esm.js?efeb:4222) at Object. (vue.esm.js?efeb:3148) at invokeHook (vue.esm.js?efeb:6351) at VueComponent.patch [as __patch__] (vue.esm.js?efeb:6570) at VueComponent.Vue._update (vue.esm.js?efeb:3951) at VueComponent.updateComponent (vue.esm.js?efeb:4069) at Watcher.get (vue.esm.js?efeb:4482) at Watcher.run (vue.esm.js?efeb:4557)
我在vue里面使用的时候报这种错是怎么回事? 引入也没有问题