July 2018
Intermediate to advanced
164 pages
3h 15m
English
Now that we know how to make Next.js routing, let's make another page:
// pages/second.jsimport React from "react";export default () => (<div>Second</div>);
This new page is accessible via http://localhost:3000/second.
Now, let's add a link to that second page to the index page.
// pages/index.js import React from "react"; import Link from ...
Read now
Unlock full access