Skip to content

Commit 29f260d

Browse files
committed
chore: Next.js not working on stackblitz, Downgrade nextjs
1 parent 709dc07 commit 29f260d

File tree

3 files changed

+81
-209
lines changed

3 files changed

+81
-209
lines changed

examples/11_nextjs_app_router/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@tanstack/react-query": "^5.90.10",
1313
"jotai": "^2.15.1",
1414
"jotai-tanstack-query": "*",
15-
"next": "16.0.3",
15+
"next": "~15.4.7",
1616
"react": "19.2.0",
1717
"react-dom": "19.2.0"
1818
},
@@ -22,7 +22,7 @@
2222
"@types/react": "^19",
2323
"@types/react-dom": "^19",
2424
"eslint": "^9",
25-
"eslint-config-next": "16.0.3",
25+
"eslint-config-next": "~15.4.7",
2626
"tailwindcss": "^4",
2727
"typescript": "^5"
2828
}

examples/11_nextjs_app_router/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"moduleResolution": "bundler",
1212
"resolveJsonModule": true,
1313
"isolatedModules": true,
14-
"jsx": "react-jsx",
14+
"jsx": "preserve",
1515
"incremental": true,
1616
"plugins": [
1717
{
@@ -30,5 +30,5 @@
3030
".next/dev/types/**/*.ts",
3131
"**/*.mts"
3232
],
33-
"exclude": ["node_modules"]
33+
"exclude": ["node_modules", ".next"]
3434
}

0 commit comments

Comments
 (0)