Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div class="wrapper" v-html="content"></div>
- </template>
- <script>
- export default {
- data() {
- return {
- content: 'this is a <a>Test</a>',
- }
- },
- }
- </script>
- <style scoped lang="scss">
- .wrapper >>> a {
- color: red;
- }
- </style>
Add Comment
Please, Sign In to add comment