vuejs / vue-touch

Hammer.js wrapper for Vue.js
MIT License
2.72k stars 391 forks source link

Failed to resolve directive 'touch' #118

Open nataliawww opened 6 years ago

nataliawww commented 6 years ago

I added config.resolve.alias['hammerjs$'] = 'vue-touch/dist/hammer-ssr.js' in my config file but getting this error [Vue warn]: Failed to resolve directive: touch

TwitchBronBron commented 6 years ago

Did you ever figure out this issue? I have the same problem using vue@2.5.17 and vue-touch@2.0.0-beta.4

zhanghaoxu commented 5 years ago

I have the save issue

Sanscripter commented 5 years ago

Same issue right here, importing through scripts.