steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.
https://precedent.dev
MIT License
4.65k stars 406 forks source link

How to add a new page? #62

Closed FitAdam closed 8 months ago

FitAdam commented 12 months ago

The current Layout.tsx is very confusing.

How can I add new pages?

kohana11 commented 11 months ago

I hope it's not too late. Template is using the app router instead of page router, you may need to check document for more information.

steven-tey commented 8 months ago

Here are the App Router docs: https://nextjs.org/docs/app