Skip to content

Commit

Permalink
trying partial prerendering
Browse files Browse the repository at this point in the history
  • Loading branch information
kane50613 committed Apr 21, 2024
1 parent 632d174 commit b6f039c
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 52 deletions.
3 changes: 3 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ await import("./src/env.js");
const config = {
// disable the `X-Powered-By` header to improve security
poweredByHeader: false,
experimental: {
ppr: true,
},
};

export default config;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"lucide-react": "^0.371.0",
"markdown-to-jsx": "^7.4.7",
"marked": "^12.0.1",
"next": "^14.2.2",
"next": "14.3.0-canary.14",
"next-safe-action": "^6.2.0",
"novel": "^0.3.1",
"react": "18.2.0",
Expand Down
102 changes: 51 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6f039c

Please sign in to comment.