title: How to setup aliased paths?
body: <p>I'm using <code>vue-cli 2.8.1</code>. </p>
  
  <p>Project initiated with <code>vue init webpack project</code>.</p>
  
  <p>How to specify an alias and use it to resolve paths? </p>
  
  <p>For instance, this is how it's done in webpack:</p>
  
  <pre><code>alias: {
    components: path.resolve(__dirname, 'src/components/')
  }
  </code></pre>
  
  <p>Then it's possible to make imports like this:</p>
  
  <pre><code>import Component from 'components/component'; // note there's no './' in the path
  </code></pre>