Why is the routing code in the Meteor-Vue example split over two different folders?

Looking at https://github.com/Akryum/meteor-vue2-example-routing I am wondering why the routing code is split in two files in two different folders:

  • /imports/routes.js
  • /client/main.routes.js

Why not putting all this code into a file:

  • /imports/startup/client/routes.js

as recommended by the meteor guide?

1 Like