json - Show gist scripts in Vue js -


i working vue-js based website , showing data using json api. parse data using axios , returned response view.

my json api contains html data including embed gist below

<p>some informative text here <br />  <script src="https://gist.github.com/nisat19/8e8e2c03ecbf198daef168948548d481.js"></script> </p> 

in view, tried render data v-html

<div v-html="content"></div> 

it parses html portion not render gist. i.e

some informative text here /* gist script missing */

is there way parse script?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -