title: vue - moving child component code to another file
body: <p>I have a subcomponent within a file, and I want to extract it out of the file and into another file.</p>
  
  <p>I'm just using vue (not cli) and php, and I don't have access to ES6, so I can't use those import statements.</p>
  
  <pre><code>const form = {
  
      ...
  
  
      components:{
          subForm:{
            /* lots of code */
          }
      }
  
  }
  </code></pre>