This is a Nextra docs site.
First, run the development server:
pnpm dev
Please make sure to run the pnpm run lint
, or pnpm run lint --fix
to auto fix any formatting issues.
Note: If your markdown contains a mermaid snippet, please place a {/* prettier-ignore */}
comment on top of the snippet - otherwise, your formatting might not look correct.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.