Specify a root path for imports? : <p>I'm converting my ongoing Vue.js app over to use vue-cli/Webpack and imported modules Something I'm finding rather tedious at the moment is specifying the relative paths for imports accurately. E.g. <code>import bus from '../../bus'</code>, <code>import Cell from '../Cell'</code>. Easy to make a mistake. </p>

<p>I'm assuming it must be straightforward enough to specify a base or root directory and specify absolute paths from that, but I can't see where one would do that. For example, in the standard vue-cli webpack setup, the code I'm working on is all in the 'src' directory, inside which I have 'components', 'mixins', etc. It would be handy if I could use <code>import xxx from 'components/xxx'</code>, <code>import yyy from 'components/a/yyy'</code>. How would I do that?</p>
