somewhere

This commit is contained in:
Swift
2023-08-17 13:05:51 +03:30
parent 30c7eb0e7b
commit 53843207cc
429 changed files with 117489 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
import Vue from 'vue'
Vue.component('RenderString', {
props: {
// eslint-disable-next-line vue/require-prop-types
string: {
required: true
}
},
render(h) {
const render = {
template: '<div>' + this.string + '</div>',
methods: {
markComplete() {
console.log('the method called')
}
}
}
return h(render)
}
})