Skip to content

Commit 45ea703

Browse files
author
Barthelemy Ledoux
committed
fix: remove v-debounce directive
1 parent da9bfec commit 45ea703

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/VueLive.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<VueLiveLayout>
33
<template v-slot:editor>
4-
<PrismEditor v-model="model" v-debounce="1000" :language="prismLang"/>
4+
<PrismEditor v-model="model" :language="prismLang"/>
55
</template>
66
<template v-slot:preview>
77
<Preview
@@ -23,7 +23,6 @@ import "prismjs/components/prism-jsx.min";
2323
2424
import PrismEditor from "vue-prism-editor";
2525
import hash from "hash-sum";
26-
import debounce from "v-debounce";
2726
2827
import Preview from "./Preview.vue";
2928
import VueLiveLayout from "./VueLiveDefaultLayout.vue";
@@ -70,7 +69,6 @@ export default {
7069
switchLanguage(newLang) {
7170
this.prismLang = LANG_TO_PRISM[newLang];
7271
}
73-
},
74-
directives: { debounce }
72+
}
7573
};
7674
</script>

0 commit comments

Comments
 (0)