3 ms·
I tried to do a project with next.js but their router was just too awkward and limiting. Unless you're doing straight 1:1 route to code, you're basically on you
by fooey 9y ago
I tried to do a project with next.js but their router was just too awkward and limiting. Unless you're doing straight 1:1 route to code, you're basically on your own.
https://github.com/zeit/next.js#custom-server-and-routing https://github.com/zeit/next.js#custom-server-and-routing
- deleted 9y ago[deleted]
- Rauchg 9y agoThat's the opposite of what that page is trying to explain. We'll take a look at the wording in case it's confusing. tl;DR: You can do any sort of routing! We use a /:org/:project scheme similar to GitHub at https://zeit.co https://zeit.co :) Some examples: - https://github.com/zeit/next.js/tree/master/examples/parameterized-routing https://github.com/zeit/next.js/tree/master/examples/paramet... - https://github.com/zeit/next.js/tree/master/examples/with-next-routes https://github.com/zeit/next.js/tree/master/examples/with-ne... - https://github.com/zeit/next.js/tree/master/examples/with-pretty-url-routing https://github.com/zeit/next.js/tree/master/examples/with-pr...