The setup for Next can be found in src/pages/_app.tsx for the initialization and src/pages/_document.tsx for collecting styles for server-side rendering. Actual usage can be found in src/pages/index.tsx.
Install dependencies and run the example, which can be viewed on http://localhost:3000
.