Last active
October 18, 2017 15:31
-
-
Save BrockReece/64f692c2a6bf18a63e4a86310e808c11 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="a" v-html="content"></div> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { | |
content: 'this is a <a class="b">Test</a>', | |
} | |
}, | |
} | |
</script> | |
<style scoped> | |
.a >>> .b { | |
color: red; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment