Topic: [Vue warn]: Failed to resolve directive: touch (found in <MdbCarousel>)

Ravonu Kawh free asked 5 years ago


[Vue warn]: Failed to resolve directive: touch

(found in ) warn @ vue.esm.js?efeb:628 resolveAsset @ vue.esm.js?efeb:1591 normalizeDirectives$1 @ vue.esm.js?efeb:6671 _update @ vue.esm.js?efeb:6595 updateDirectives @ vue.esm.js?efeb:6587 invokeCreateHooks @ vue.esm.js?efeb:6074 createElm @ vue.esm.js?efeb:5961 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 patch @ vue.esm.js?efeb:6482 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 init @ vue.esm.js?efeb:3127 createComponent @ vue.esm.js?efeb:5983 createElm @ vue.esm.js?efeb:5930 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 patch @ vue.esm.js?efeb:6482 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 init @ vue.esm.js?efeb:3127 createComponent @ vue.esm.js?efeb:5983 createElm @ vue.esm.js?efeb:5930 patch @ vue.esm.js?efeb:6482 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 init @ vue.esm.js?efeb:3127 createComponent @ vue.esm.js?efeb:5983 createElm @ vue.esm.js?efeb:5930 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 patch @ vue.esm.js?efeb:6482 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 init @ vue.esm.js?efeb:3127 merged @ vue.esm.js?efeb:3310 createComponent @ vue.esm.js?efeb:5983 createElm @ vue.esm.js?efeb:5930 createChildren @ vue.esm.js?efeb:6058 createElm @ vue.esm.js?efeb:5959 patch @ vue.esm.js?efeb:6482 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 init @ vue.esm.js?efeb:3127 createComponent @ vue.esm.js?efeb:5983 createElm @ vue.esm.js?efeb:5930 patch @ vue.esm.js?efeb:6521 Vue._update @ vue.esm.js?efeb:3948 updateComponent @ vue.esm.js?efeb:4069 get @ vue.esm.js?efeb:4482 Watcher @ vue.esm.js?efeb:4471 mountComponent @ vue.esm.js?efeb:4076 Vue.$mount @ vue.esm.js?efeb:9057 Vue.$mount @ vue.esm.js?efeb:11953 Vue._init @ vue.esm.js?efeb:5021 module.exports.9bf4.Vue._init @ vuesax.common.js?a7ba:12367 Vue @ vue.esm.js?efeb:5088 eval @ main.js?1c90:43 ./src/main.js @ app.js:1850 webpack_require @ app.js:679 fn @ app.js:89 0 @ app.js:1875 webpack_require @ app.js:679 (anonymous) @ app.js:725 (anonymous) @ app.js:728


Magdalena Dembna staff answered 5 years ago


Add the following lines to your main.js file:

import Vue2TouchEvents from 'vue2-touch-events'; Vue.use(Vue2TouchEvents);

And let me know if it solves the problem. We will sort this out as soon as possible. Kind regards, Magdalena


Ravonu Kawh free commented 5 years ago

awesome !! it works! love you!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 6.0.0
  • Device: windows studio
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags