Skip to content

Commit cc39c9f

Browse files
thegdsksglinr
andcommitted
fix(docs): add Netlify Next.js plugin for SSR routing
Co-Authored-By: Glinr <bot@glincker.com>
1 parent 602187a commit cc39c9f

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

apps/docs/netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "cd ../.. && pnpm install && pnpm --dir apps/docs build"
3+
publish = ".next"
4+
5+
[[plugins]]
6+
package = "@netlify/plugin-nextjs"

apps/docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"react-syntax-highlighter": "^16.1.1"
2424
},
2525
"devDependencies": {
26+
"@netlify/plugin-nextjs": "^5.15.8",
2627
"@tailwindcss/typography": "^0.5.16",
2728
"@types/node": "^22.0.0",
2829
"@types/react": "^18.3.12",

apps/docs/pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)