nuxt-community / router-module

Nuxt 2 module to use router.js instead of pages/ directory.
MIT License
401 stars 28 forks source link

[2.15] keepDefaultRouter option broken #91

Closed pi0 closed 3 years ago

pi0 commented 3 years ago

Ref: https://github.com/nuxt/nuxt.js/issues/8831

Since 2.15, we are passing two arguments to createRouter utility (for runtime config support). We should either pass config as 4th argument from createRouter to user provided createRouter function and update docs or wrap imported createRouter from nuxt to do this.