fs-router
Similar to Next.js/Nuxt.js 's `pages` structure:

in `src/index.js` do:

```js
import createRouter from '@fs-router'

const router = createRouter({
  // optional options...
})

export default { router }
```

Then this will automatically map `./pages/**/*.{vue,js}` to router routes with code-split support.