9c35f21f38
### What? This updates the `blog-starter` example to Next 14.1 App Router. ### Why? I checked out a new `blog-starter` project on Vercel and was surprised it was using the Pages Router. I believe the App Router is a better choice. ### How? I tried to keep the implementation logic as close to the original Pages `blog-starter`. --------- Co-authored-by: Sam Ko <sam@vercel.com>
27 lines
558 B
JSON
27 lines
558 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.5.1",
|
|
"date-fns": "^3.3.1",
|
|
"gray-matter": "^4.0.3",
|
|
"next": "14.1.0",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"remark": "^15.0.1",
|
|
"remark-html": "^16.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"autoprefixer": "^10.0.1",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.3.0",
|
|
"typescript": "^5"
|
|
}
|
|
}
|