rsnext/examples/app-dir-mdx
Hannes Bornö 527afe1cae
Change @next/font to next/font in examples (#46836)
Migrate examples using `@next/font` to `next/font`.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] [e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see [`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2023-03-06 21:01:13 +00:00
..
app Change @next/font to next/font in examples (#46836) 2023-03-06 21:01:13 +00:00
public Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00
types Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00
.gitignore Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00
mdx-components.tsx Add MDXComponents type to useMDXComponents (#45737) 2023-02-14 16:41:49 -08:00
next.config.js Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00
package.json Change @next/font to next/font in examples (#46836) 2023-03-06 21:01:13 +00:00
README.md Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00
tsconfig.json Add support for rendering MDX as a server component (#44651) 2023-01-06 13:09:05 -08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.