title: How to embed widget written by vue into a vue webapp
body: <p>I'm building a website with Vuejs. I have the code like this</p>
  
  <p><em>app.js</em></p>
  
  <pre><code>new Vue({
    el: '.page-wrapper',
    ...
  })
  </code></pre>
  
  <p>index.html</p>
  
  <pre><code>&lt;body&gt;
      &lt;div class="page-wrapper"&gt;
          &lt;!-- content--&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Now I want to embed a widget which is built by Vuejs like</p>
  
  <pre><code>&lt;div id="widget"&gt;&lt;/div&gt;
  &lt;script src="https://widget.com/widget.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>inside <code>page-wrapper</code> class.
  I've tried to put the <code>script</code> tag outside the origin Vue component but the content of widget still did not render.</p>
  
  <p>I'm new to Vuejs, could anyone help me out?</p>