Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Missing info in tutorial/section 3/routes.js #2

@j-v-a

Description

@j-v-a

It seems in section 3 of the blogpost/tutorial the input for the routes.js should be

const routes = require('next-routes');

module.exports = routes()
  .add('Blog', '/blog')
  .add('BlogPost', '/blog/:slug', 'Blog/Post');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions