mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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 <[email protected]>
4 lines
92 B
TypeScript
4 lines
92 B
TypeScript
export default function Hello1() {
|
|
return <p>Hello World 1 (imported dynamically) </p>;
|
|
}
|