Load HTML from html file into Vue div

Viewed 10559

So, I'm using jsfiddle to follow THIS {{respondedText}}

<div>{{respondedText}}</div>

However, say I want to read in HTML content from a file or site and then load it into that div; instead of displaying "Event Received: Event 2".

This is ultimately a building block for me in what I'm trying to use it for. I'm hoping, by successfully getting this example to work, that I can build a webapp that has buttons that, onpress, will load html from another local file on my server without reloading the entire page.

1 Answers
Related