We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9bfec commit 45ea703Copy full SHA for 45ea703
src/VueLive.vue
@@ -1,7 +1,7 @@
1
<template>
2
<VueLiveLayout>
3
<template v-slot:editor>
4
- <PrismEditor v-model="model" v-debounce="1000" :language="prismLang"/>
+ <PrismEditor v-model="model" :language="prismLang"/>
5
</template>
6
<template v-slot:preview>
7
<Preview
@@ -23,7 +23,6 @@ import "prismjs/components/prism-jsx.min";
23
24
import PrismEditor from "vue-prism-editor";
25
import hash from "hash-sum";
26
-import debounce from "v-debounce";
27
28
import Preview from "./Preview.vue";
29
import VueLiveLayout from "./VueLiveDefaultLayout.vue";
@@ -70,7 +69,6 @@ export default {
70
69
switchLanguage(newLang) {
71
this.prismLang = LANG_TO_PRISM[newLang];
72
}
73
- },
74
- directives: { debounce }
+ }
75
};
76
</script>
0 commit comments