how to pass props to an instance when instantiated through a Vue constructor derived from Vue.extend?
for example, I have a single file component A.vue:
<template>
<div>
<div>
</template>
export default {
props: {
json: {
type: Object,
default: () => {}
}
}
}
I use it to derive and instantiate it in the B component:
import A from "./A"
const Constructor = Vue.extend(A)
//
let vm = new Constructor({ el: "-sharpid"})
// vmprops
The question is how to pass a props attribute, such as json in the example, to the instance generated by derived instantiation.