title: Vue route: Uncaught TypeError: window.Vue.use is not a function
body: <p>in my Laravel project I'm using Vue library and I'm trying to use vue router in my modules, but when I tried import vue router as usually (<em>see code below</em>) I got an error in my console: <strong>Uncaught TypeError: window.Vue.use is not a function</strong></p>
  
  <p>Any ideas how to solve this issue? I have created this module using webpack.</p>
  
  <pre><code>import Vue from 'vue'
  import VueRouter from 'vue-router'
  
  Vue.use(VueRouter)
  
  import App from './App.vue'
  
  const router = new VueRouter({
      routes: [{
          'path' : '/user/:id/'
      }]
  });
  
  new Vue({
    router,
    el: '#play',
    render: h =&gt; h(App)
  });
  </code></pre>