Skip to content

Commit a9827f2

Browse files
committed
feat: use created instead of mount to SSR
1 parent aaedbd9 commit a9827f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueLive.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default {
117117
stableCode: this.code
118118
};
119119
},
120-
beforeMount() {
120+
created() {
121121
this.updatePreview = debounce(value => {
122122
this.model = value;
123123
}, this.delay);

0 commit comments

Comments
 (0)