title: Vue 2: How to render Single File Components from Render Functions?
body: <p>I'm trying to render a Single File Vue Component from a render function but it isn't being created. I tried variations similar to:</p>
  
  <pre><code>// simple.vue
  &lt;template&gt;
  ...
  &lt;/template&gt;
  &lt;script&gt;
   ...
  &lt;/script&gt;
  
  // parent.vue
  &lt;script&gt;
  import Simple from 
  export default {
    name: "parentComponent",
    render: function (h) {
      return h(
        "div",
        null,
        Simple  // [Simple], Vue.component(Simple)
    }
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>How can I build Vue components from render functions? If it makes a difference I'm also using pug.</p>