title: Using vue component in sweetalert2 content
body: <p>I have a few plain <a href="https://github.com/sweetalert2/sweetalert2" rel="noreferrer">Sweetalert2</a> modals in a <a href="https://vuejs.org/" rel="noreferrer">Vue</a> project. I want to use a custom component inside an alert. For example:</p>
  
  <pre><code>&lt;template&gt;
    &lt;h1&gt;Hello {{name}}&lt;/h1&gt;
  &lt;/template&gt;
  &lt;script&gt;
  module.exorts: {
    props: ["name"]
  }
  &lt;/script&gt;
  </code></pre>
  
  <p><em>my_template.vue</em></p>
  
  <p>And, in my sweetalert modal:</p>
  
  <pre><code>swal({
    titleText: "Hi",
    html: '&lt;my-template name="hello"&gt;&lt;/my-template&gt;'
  });
  </code></pre>
  
  <p>I'm not sure if this is even possible or how to do it.</p>