title: how to write routes in a laravel + vuejs 2 + vue-router + vue-axios project?
body: <p>this is how i've set the files in </p>
  
  <blockquote>
    <p>/ressources/assets/js/</p>
  </blockquote>
  
  <p>file:</p>
  
  <ol>
  <li>/js/router/index.js &amp; /js/router/mainRoutes.js, i wish to put my routes in mainRoutes.js</li>
  <li>/js/store/index.js for state management (this is how i code in a solely vuejs project)</li>
  <li>my app.js file: const app = new Vue({
  el: '#app',
  router,
  store,
  components:{Myheader,Myfooter}
  });</li>
  </ol>
  
  <p>My problem is that i don't know how to set routes in this mix of languages.</p>