title: How to import Vue component to script tag?
body: <p>I have some Vue components (<code>.vue</code>) in my Laravel project, <code>resources\assets\js\components</code>. I want to import the components to a view file <code>.blade.php</code>:</p>
  
  <pre><code>&lt;div id='lol'&gt;
      &lt;some-component&gt;&lt;/some-component&gt;
  &lt;/div&gt;
  &lt;script src="https://cdn.jsdelivr.net/npm/vue@2.5.17/dist/vue.js"&gt;&lt;/script&gt;
  &lt;script&gt;
      import SomeComponent from '.\resources\assets\js\components\some.vue
      new Vue({
          el: '#lol'
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>I got error in console: <code>Uncaught SyntaxError: Unexpected identifier</code> at the <code>import</code></p>
  
  <blockquote>
    <p>I don't wanna register the component in app.js</p>
  </blockquote>