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.
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 providedcreateRouter
function and update docs or wrap importedcreateRouter
from nuxt to do this.