fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Use without server.js #85

Closed mrsteele closed 6 years ago

mrsteele commented 7 years ago

I couldn't find anything in the docs (and looking at the source-code this doesn't seem doable).

Could we add support to just hook into next.config.js instead of having to create a server.js file?

fridays commented 7 years ago

Afaik we can't add a request handler through the config file. I can't look closer at the moment, if you have an idea a PR is welcome!