updated nextjs example with app router

This commit is contained in:
dswbx
2025-02-27 20:09:03 +01:00
parent 2d5da63eb2
commit 09074f6591
36 changed files with 334 additions and 284 deletions

View File

@@ -3,24 +3,24 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "npm run db & next dev",
"db": "turso dev --db-file test.db",
"dev": "next dev",
"dev:turbo": "next dev --turbopack",
"build": "next build",
"start": "npm run db & next start",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"bknd": "file:../../app",
"next": "15.0.2",
"react": "file:../../node_modules/react",
"react-dom": "file:../../node_modules/react-dom"
"react-dom": "file:../../node_modules/react-dom",
"next": "15.2.0"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"postcss": "^8",
"tailwindcss": "^3.4.1"
"@types/react": "^19",
"@types/react-dom": "^19",
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4"
}
}