Skip to content

Commit

Permalink
refactor: Enabled ISR (hybrid-rendering)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyedejioyewole committed Dec 28, 2023
1 parent a922de3 commit 0771fc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@ export default defineNuxtConfig({
"@nuxtjs/google-fonts",
"@nuxtjs/tailwindcss",
],
nitro: {
prerender: {
crawlLinks: true,
},
},
phosphor: {
options: {
components: {
expose: true,
},
},
},
routeRules: {
"/**": { isr: true },
},
typescript: {
shim: false,
},
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
],
"scripts": {
"lint": "eslint . --fix",
"docs:build": "pnpm --filter docs build",
"docs:dev": "pnpm --filter docs dev",
"docs:generate": "pnpm --filter docs generate",
"playground:build": "pnpm --filter playground build",
"playground:dev": "pnpm --filter playground dev",
"playground:generate": "pnpm --filter playground generate",
Expand Down

0 comments on commit 0771fc9

Please sign in to comment.