title: Include a stylus plugin in Vue.js project
body: <p>I can't include a stylus plugin in my project, the code varies so much from one version to another that I'm lost trying everything and anything.</p>
  
  <p>Here are the versions I currently have:</p>
  
  <p>"nib": "^1.1.2",</p>
  
  <p>"vue": "^2.5.16",</p>
  
  <p>"stylus": "^0.54.5",</p>
  
  <p>"stylus-loader": "^3.0.2",</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>// vue.config.js
  
  const nib = require('nib');
  
  module.exports = {
      configureWebpack: {
          stylus: {
              use: [nib()],
              import: ['nib'],
          },
      },
  };</code></pre>
  </div>
  </div>
  </p>
  
  <p>Has anyone succeeded?</p>
  
  <p>I would like to understand how to do it and why what I do doesn't work, thank you.</p>