title: How to import external module in vue?
body: <p>My code below is working fine:</p>
  <pre class="lang-js prettyprint-override"><code>import Vue from 'vue';
  import Vuex from 'vuex';
  
  import user from './modules/auth';
  
  Vue.use(Vuex);
  
  export default new Vuex.Store({
      modules: {
          user
      }
   });
  </code></pre>
  <p>Is there a shorter way to import a module instead of writing the statement at the top? I instead write it directly inside the modules like below:</p>
  <pre class="lang-js prettyprint-override"><code>export default new Vuex.Store({
      modules: {
          user: import('./modules/auth'),
      }
   });
  </code></pre>
  <p>But unfortunately it didn't work (the external module was not imported successfully).</p>