Skip to content

Commit 16f5437

Browse files
committed
docs: fix nextjs examples for codesandbox
1 parent 9bddf27 commit 16f5437

5 files changed

Lines changed: 10 additions & 12 deletions

File tree

examples/rick-and-morty/next-app-nano_kit-ssr/next.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ const nextConfig: NextConfig = process.env.NANO_KIT_DEV
2121
return config
2222
}
2323
}
24-
: {
25-
allowedDevOrigins: ['csb.app', '*.csb.app']
26-
}
24+
: {}
2725

2826
export default nextConfig

examples/rick-and-morty/next-app-nano_kit-ssr/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
"react-dom": "^19.2.0"
2121
},
2222
"devDependencies": {
23+
"@types/node": "^24.0.0",
2324
"@types/react": "^19.2.4",
2425
"@types/react-dom": "^19.2.3",
2526
"typescript": "^5.8.2"
26-
},
27-
"stackblitz": {
28-
"startCommand": "npm run dev"
2927
}
3028
}

examples/rick-and-morty/next-pages-nano_kit-ssr/next.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ const nextConfig: NextConfig = process.env.NANO_KIT_DEV
2121
return config
2222
}
2323
}
24-
: {
25-
allowedDevOrigins: ['csb.app', '*.csb.app']
26-
}
24+
: {}
2725

2826
export default nextConfig

examples/rick-and-morty/next-pages-nano_kit-ssr/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
"react-dom": "^19.2.0"
2121
},
2222
"devDependencies": {
23+
"@types/node": "^24.0.0",
2324
"@types/react": "^19.2.4",
2425
"@types/react-dom": "^19.2.3",
2526
"typescript": "^5.8.2"
26-
},
27-
"stackblitz": {
28-
"startCommand": "npm run dev"
2927
}
3028
}

pnpm-lock.yaml

Lines changed: 6 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)