An example of what I'm trying to do
<template>
<div>
<p>I pee red!</p>
</div>
</template>
<script>
export default {
data: () => ({
aModelWithStyle: {name: "Hansel", css:".p{color:red}"}
})
}
</script>
<style scoped lang="scss">
{{aModelWithStyle.css}}
</style>
Obviously {{aModelWithStyle.css}} within the style tag does not work. How would I accomplish this using Vue?