File tree Expand file tree Collapse file tree 7 files changed +20
-15
lines changed
03-boilerplate/api-server Expand file tree Collapse file tree 7 files changed +20
-15
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,8 @@ export default CarPage;
128128> [ Dynamic routes] ( https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes )
129129>
130130> [ i18n-routing] ( https://nextjs.org/docs/app/building-your-application/routing/internationalization )
131+ >
132+ > [ Warning ` params ` should be awaited before using its properties] ( https://nextjs.org/docs/messages/sync-dynamic-apis )
131133
132134Open ` http://localhost:3000/cars/audi ` ;
133135
Original file line number Diff line number Diff line change 99 "author" : " Lemoncode" ,
1010 "license" : " MIT" ,
1111 "dependencies" : {
12- "@hono/node-server" : " ^1.12.2 " ,
13- "hono" : " ^4.5.11 "
12+ "@hono/node-server" : " ^1.13.8 " ,
13+ "hono" : " ^4.6.20 "
1414 },
1515 "devDependencies" : {
16- "tsx" : " ^4.19.0 "
16+ "tsx" : " ^4.19.2 "
1717 }
1818}
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ const RootLayout = (props: Props) => {
88 const { children } = props ;
99 return (
1010 < html lang = "en" >
11- < body > { children } </ body >
11+ < body >
12+ < main > { children } </ main >
13+ </ body >
1214 </ html >
1315 ) ;
1416} ;
Original file line number Diff line number Diff line change 22/// <reference types="next/image-types/global" />
33
44// NOTE: This file should not be edited
5- // see https://nextjs.org/docs/app/building-your-application/configuring /typescript for more information.
5+ // see https://nextjs.org/docs/app/api-reference/config /typescript for more information.
Original file line number Diff line number Diff line change 1212 "author" : " Lemoncode" ,
1313 "license" : " MIT" ,
1414 "dependencies" : {
15- "next" : " ^14.2.9 " ,
16- "react" : " ^18.3.1 " ,
17- "react-dom" : " ^18.3.1 "
15+ "next" : " ^15.1.6 " ,
16+ "react" : " ^19.0.0 " ,
17+ "react-dom" : " ^19.0.0 "
1818 },
1919 "devDependencies" : {
20- "@types/node" : " 22.5.4 " ,
21- "@types/react" : " ^18.3.5 " ,
22- "@types/react-dom" : " ^18.3.0 " ,
23- "typescript" : " ^5.6.2 "
20+ "@types/node" : " 22.13.0 " ,
21+ "@types/react" : " ^19.0.8 " ,
22+ "@types/react-dom" : " ^19.0.3 " ,
23+ "typescript" : " ^5.7.3 "
2424 }
2525}
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "target" : " ES2017" ,
34 "lib" : [
45 " dom" ,
56 " dom.iterable" ,
Original file line number Diff line number Diff line change 99 "author" : " Lemoncode" ,
1010 "license" : " MIT" ,
1111 "dependencies" : {
12- "@hono/node-server" : " ^1.12.2 " ,
13- "hono" : " ^4.5.11 "
12+ "@hono/node-server" : " ^1.13.8 " ,
13+ "hono" : " ^4.6.20 "
1414 },
1515 "devDependencies" : {
16- "tsx" : " ^4.19.0 "
16+ "tsx" : " ^4.19.2 "
1717 }
1818}
You can’t perform that action at this time.
0 commit comments