Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[with-typescript] Updated TypeScript example to use API routes #9073

Merged
merged 3 commits into from
Oct 16, 2019

Commits on Oct 14, 2019

  1. [with-typescript] Updated TypeScript example to use API routes

    Next.js 9.0.0 has been out for a while, which supports API routes, but
    the examples were never updated to make use of it. This PR adds a simple
    example of an API route which also makes use of dynamic routing.
    
    A simple `fetch()` wrapper is also added for example purposes, and the
    pages structure have also been updated to dynamic routing.
    resir014 committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    c8fdb91 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Configuration menu
    Copy the full SHA
    b704d1d View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2019

  1. Configuration menu
    Copy the full SHA
    996cfd1 View commit details
    Browse the repository at this point in the history