title: Can Vue.js custom directive be implemented as individual files?
body: <p>Is there any way that Vue custom directives can be implemented as individual files (ala Vue components .vue file) and be compiled in the root js file? (I'm using Webpack)</p>
  
  <p>I tried the following on app.js but it's not recognised.</p>
  
  <pre><code>require('./directives/test.js');
  </code></pre>
  
  <p>Thanks in advance.</p>