···33First, run the development server:
4455```bash
66-yarn dev
66+pnpm dev
77```
8899-Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1010-1111-You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
1212-1313-[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
1414-1515-The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
99+Open [http://localhost:3000](http://localhost:3000) with your browser to see the
1010+result.
16111712## Learn More
18131914To learn more about Next.js, take a look at the following resources:
20152121-- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
2222-- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an interactive Next.js tutorial.
1616+- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
1717+ features and API.
1818+- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an
1919+ interactive Next.js tutorial.
23202424-You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
2121+You can check out
2222+[the Next.js GitHub repository](https://github.com/vercel/next.js/) - your
2323+feedback and contributions are welcome!
25242625## Deploy on Vercel
27262828-The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme) from the creators of Next.js.
2727+The easiest way to deploy your Next.js app is to use the
2828+[Vercel Platform](https://vercel.com/new?utm_source=github.com&utm_medium=referral&utm_campaign=turborepo-readme)
2929+from the creators of Next.js.
29303030-Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
3131+Check out our
3232+[Next.js deployment documentation](https://nextjs.org/docs/deployment) for more
3333+details.
+17-17
apps/web/contentlayer.config.ts
···11-import { makeSource } from "contentlayer/source-files";
22-import rehypeSlug from "rehype-slug";
33-import remarkGfm from "remark-gfm";
44-55-import { LegalPost } from "./src/contentlayer/documents/legal";
66-import { Post } from "./src/contentlayer/documents/post";
77-import autolinkHeadings from "./src/contentlayer/plugins/autolink-headings";
88-import prettyCode from "./src/contentlayer/plugins/pretty-code";
99-1010-export default makeSource({
1111- contentDirPath: "src/content/",
1212- documentTypes: [Post, LegalPost],
1313- mdx: {
1414- remarkPlugins: [remarkGfm],
1515- rehypePlugins: [rehypeSlug, prettyCode, autolinkHeadings],
1616- },
1717-});
11+import { makeSource } from "contentlayer/source-files";
22+import rehypeSlug from "rehype-slug";
33+import remarkGfm from "remark-gfm";
44+55+import { LegalPost } from "./src/contentlayer/documents/legal";
66+import { Post } from "./src/contentlayer/documents/post";
77+import autolinkHeadings from "./src/contentlayer/plugins/autolink-headings";
88+import prettyCode from "./src/contentlayer/plugins/pretty-code";
99+1010+export default makeSource({
1111+ contentDirPath: "src/content/",
1212+ documentTypes: [Post, LegalPost],
1313+ mdx: {
1414+ remarkPlugins: [remarkGfm],
1515+ rehypePlugins: [rehypeSlug, prettyCode, autolinkHeadings],
1616+ },
1717+});