Skip to content

Commit

Permalink
updated with-react-foundation example to utilize the App router. (#73243
Browse files Browse the repository at this point in the history
)

This PR updates the with-react-foundation example for using the App
Router.
Here are the changes that have been made:

- I renamed the `pages` folder and moved it to the `app` folder.
- Added the layout.tsx file as part of the App Router.
- Moved component folder into app folder.
- Updated the package.json file.

CC: @samcx

---------

Co-authored-by: samcx <[email protected]>
  • Loading branch information
PapatMayuri and samcx authored Nov 28, 2024
1 parent a35d645 commit 7977898
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 201 deletions.
36 changes: 0 additions & 36 deletions examples/with-react-foundation/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions examples/with-react-foundation/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions examples/with-react-foundation/next-env.d.ts

This file was deleted.

21 changes: 0 additions & 21 deletions examples/with-react-foundation/package.json

This file was deleted.

17 changes: 0 additions & 17 deletions examples/with-react-foundation/src/components/Article.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions examples/with-react-foundation/src/components/Card.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions examples/with-react-foundation/src/components/Header.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions examples/with-react-foundation/src/pages/_app.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions examples/with-react-foundation/src/pages/index.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions examples/with-react-foundation/tsconfig.json

This file was deleted.

0 comments on commit 7977898

Please sign in to comment.