Skip to content

Commit c2c76c4

Browse files
committed
Fixed typescript issues.
1 parent 9fa83e2 commit c2c76c4

File tree

6 files changed

+262
-100
lines changed

6 files changed

+262
-100
lines changed

components/Editor.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ export default Vue.extend({
4141
uniqueID: this._uid,
4242
};
4343
},
44+
watch: {
45+
data(val) {
46+
this.$emit("updated", val);
47+
},
48+
},
4449
mounted() {
4550
setTimeout(() => {
4651
if (this.content) {

package-lock.json

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"html2pdf.js": "^0.9.2",
1616
"jspdf": "^2.2.0",
1717
"nuxt": "^2.14.6",
18+
"nuxt-property-decorator": "^2.9.1",
1819
"quill": "1.3.6",
1920
"vue-cookies": "^1.7.4",
2021
"vue-html2pdf": "^1.8.0",

0 commit comments

Comments
 (0)