title: Import not working with JavaScript in PhpStorm/Webstorm
body: <p>I'm trying to run a piece of JavaScript code written in a tutorial that looks like this:</p>
  
  <p><strong>main.js</strong></p>
  
  <pre><code>import Vue from 'Vue';
  import Alert from './components/Alert.vue';
  
  new Vue({
      el: 'body',
  
      components: { Alert }
  })
  </code></pre>
  
  <p>However, PhpStorm is giving the following error:  </p>
  
  <blockquote>
    <p>Import declarations are not supported by current JavaScript version</p>
  </blockquote>
  
  <p>How I can get a newer(?) JavaScript version in PhpStorm? Is that really the problem here?</p>