I'm trying to display html from a link. the idea is to host some html in a file on github or other site and have it render in a widget in my vue.js app (not just display the html code)
The code currently allows for a text area in the interface to be populated with some text or regex that is then displayed in the widget. the idea is to be able to put a URL in that text area and have it load the html.
I am very new to vue.js and would really appreciate some help pointing me in the right direction.
<template>
<!-- The template section is where you design your widget using HTML -->
<div>Using text interpolation: {{customregex}} <span style="color: red">This should be red. {{customregex}}</span></div>
<!-- <div><span v-html="customregex"></span></div> -->
</template>
thanks.