I have a plugin that sets some variables to vue's object prototype.
I need to access these variables from a prop's default property. How can I achieve this?
Using the following example, webpack throws some undefined error.
//...
props: {
size: {
type: String,
required: false,
default: this.$myPlugin.size
}
}
installfrunction of your plugin?