title: using require without vue CLI, just vue
body: <p>I want to put my template code into another file, I cannot use vue CLI, I'm just using a simple version of vue. </p>
  
  <p>This does not work</p>
  
  <pre><code>  Vue.component('header-app', {
      template: require('./components/header.html')
    })
  </code></pre>
  
  <p>Where as this does work</p>
  
  <pre><code>Vue.component('header-app', {
  template: ` &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"&gt;
        &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
      &lt;/button&gt;`
  })
  </code></pre>
  
  <p>But my template code will be very big, so better to put into separate files. </p>
  
  <p>I've been reading forums etc but still no real answer, remember, I cannot use Vue Cli, just vue.js</p>