How can I access this.$root from within a VueJs template?
For example:
<template>
<v-card elevation="this.$root.$refs.foo.cardElevation">
Foo
</v-card>
</template>
I am aware that I can create a data property and link it to $root.cardElevation, but since multiple components will be using this value, I want to directly access it from the template.