title: Embedding an entire html page into a Vue.js template
body: <p>First of all, excuse my English, I'm using a translator.<br><br>
  I have a <strong>Vue.js</strong> project with a single-page path structure (<strong>SPA</strong>) typical of reactive frameworks with a main component where I create the nav and the footer and within the corresponding path call with  <code>&lt;router-view&gt;&lt;/router-view&gt;</code><br><br>
  What happens is that I need to introduce a page with external code inside the project that I cannot mix with Vue.js because it has too much css that is too incompatible and extensive to make it work together. So I wanted to see if you could enter within the template itself a call to a whole external html page, which is usually done with Iframe.
  <br><br>
  The first thing they provided was the Iframe itself with a simple label:<br></p>
  
  <pre><code>&lt;template&gt;
  &lt;iframe src="htmlexterno.html"&gt;&lt;/iframe&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>But it didn't work, and from what I've seen, it seems that Iframe is not compatible with Vue.js<br><br>
  Then searching the internet I found this code:</p>
  
  <pre><code>&lt;template&gt;
  &lt;div v-html="varhtml"&gt;&lt;/div&gt;
  &lt;template&gt;
  &lt;script&gt;
  export default {
  data: {
      varhtml: '&lt;p&gt;Loading...&lt;/p&gt;'
  },
  
  ready() {
      this.$http.get('htmlexterno.html').then(response =&gt; {
          this.varhtml = response.data;
      });
  }
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>But it doesn't work for me either.<br><br>
  Then thanks to the help of an answer in this question I got it to load internet urls, but htmlexterno.html is a local project and doesn't work for me.</p>
  
  <p>The last one I did is this but it only works if I put an internet url (not local):</p>
  
  <pre><code>&lt;template&gt;
      &lt;iframe :src="ruta"&gt;&lt;/iframe&gt;
  &lt;/template&gt;
  &lt;script&gt;
  export default {
      data: () =&gt; ({
          ruta: 'htmlexterno.html'
      })
  }
  &lt;/script&gt;
  </code></pre>
  
  <p><br>I'd appreciate it if someone could help me.<br></p>