next-routes
next-routes copied to clipboard
Universal dynamic routes for Next.js
Dudes, I recently updated my nextjs project to 9.2. `next-routes` version is "^1.4.2". I got this error after update. `Uncaught TypeError: Parameter 'url' must be a string, not undefined`. It...
After upgrading the next js to the version 9.5 the slugs are not working in dynamic pages Router.pushRoute('blog', {slug: 'hello-world'}) @disintegrator @petertulala @Timer @tpreusse @trotzig
Outlined in the dev [blog](https://nextjs.org/blog/next-9), and [upgrade guide](https://github.com/zeit/next.js/blob/canary/UPGRADING.md) upgrading to Nextjs9 you have to remove @types/next to avoid conflicts > TypeScript Definitions are published with the next package, so you...
Hi, This builds upon the awesome work done by @nkramaric and others, this PR adds support for meta properties in route defination
I am piggybacking off of iherem's PR found here: #152 His PR notes below: When I can't specify additional values and send them to custom handlers. Then I add the...
Why is clicking on a link causing a full page load? My routes.js ```javascript const routes = require('next-routes'); module.exports = routes() .add('register') .add('index', '/') .add('confirm-email', '/confirm-email/:token'); ``` server.js ```javascript app.prepare().then(()...
do we have to define all pages in routes ? if a page is not in route file ,does next-routes find it ? if not, for pages that does not...
Hello ! I try to get params by getInitialProps(). However, when I try to get that like this, /pages/books/show.js ``` static async getInitialProps(props) { console.log(props.query) } ``` it turned error...