Is there any vue plugin that can allows us to use template variable in side <style/> tag in Single File Components for e.g.
<template>
<div>{{ display }}</div>
</template>
<script>
export default {
data(){
return { display: 'block' }
}
}
</script>
<style>
body {
display: {{ display }}
}
</style>
Any better way/plugin to do this??
I already have known about :style and :class