title: Vuejs module not found error can't resolve '@/components/ error using webpack
body: <p>I cant find the answer to this other than apparently it is something to do with the webpack config, something I know nothing about.</p>
  
  <p>I want to use the following way of getting to my app directory running webpack-simple template @/components/ but for me it just generates an error </p>
  
  <blockquote>
    <p>module not found error can't resolve '@/components/ error</p>
  </blockquote>
  
  <p>from the reading i have done there is something i need to set up in the webpack config to make this work but I cant find what it is, can anyone assist please?</p>
  
  <p>At the moment im trying this in the dev server but obviously keen to make sure it will also woork in production</p>
  
  <p>Ihave found this js code that I think does what I want but no idea how I would make this work with the webpack set up as never used it before</p>
  
  <p>thanks</p>
  
  <pre><code>{
    "compilerOptions": {
        "baseUrl": ".",
        "paths": {
            "@/*": [
                "src/*"
            ]
        }
    }
  }
  </code></pre>
  
  <p>Thanks</p>