Files
PapatMayuri 0378e94662 Updated the example of with-dynamic-import to utilize the App Router. (#69596)
This PR updates the with-dynamic-import example for using the App
Router. Here are the changes that have been made:

- Renamed the "pages" folder to the "app" folder.
- Added the layout.tsx file as part of the App Router.
- Added the "component" folder to the "app" folder.
- Updated the package.json file.

CC: @samcx

---------

Co-authored-by: samcx <sam@vercel.com>
2024-09-03 16:30:27 -07:00

21 lines
392 B
JSON

{
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
"fuse.js": "^7.0.0",
"next": "latest",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^22.5.2",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"typescript": "^5.5.4"
}
}