import Link from 'next/link' import Router from 'next/router' function routeToAbout (e) { e.preventDefault() Router.push('/about') } export default () => (
About via Link About via Router Counter getInitialProps Dynamic 1 Dynamic 2 Level1 home page Level1 about page Dynamic imports page

This is the home page

)