-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
This module used to work but somehow stopped working. Running Vue 2.6.12. I have tried importing it in the child component & importing it like so:
import VueHotkey from 'v-hotkey/dist/v-hotkey.umd' but it still did not work.
Here is a simple setup of my project which includes another Vue module:
Child.vue
<template>
<div v-hotkey="keymap" v-touch:swipe="swipe">
// some divs
</div>
</template>
<script>
export default {
computed: {
keymap () {
return {
up: this.goPrev,
down: this.goNext,
// ...
};
</script>main.js
import Vue2TouchEvents from 'vue2-touch-events';
import VueHotkey from 'v-hotkey';
Vue.use(Vue2TouchEvents)
.use(VueHotkey);Did I do something wrong? Or is there a bug like these other modules' (1) (2) (3) git issue?
Metadata
Metadata
Assignees
Labels
No labels