Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next.js code on React auth page #7734

Open
ejohnsontrux opened this issue Jun 11, 2024 · 0 comments
Open

Next.js code on React auth page #7734

ejohnsontrux opened this issue Jun 11, 2024 · 0 comments

Comments

@ejohnsontrux
Copy link

Describe the content issue:
There is incorrect content on the https://docs.amplify.aws/react/build-a-backend/auth/set-up-auth/ page. The pages/_app.tsx referenced doesn't normally exist in a React app, the "pages" dir and the code snippet for it seem to be for next.js app. They use "pages" dir in older versions, and one of the imports is from 'next/app'.

Also, I did a manual install in an existing React app. The "npm add @aws-amplify/ui-react" failed, after doing the "npm add --save-dev @aws-amplify/backend@latest @aws-amplify/backend-cli@latest typescript" initially. Because one of the ui-react dependencies wanted to use a lower version of typescript then was installed at the beginning.

URL page where content issue is:
https://docs.amplify.aws/react/build-a-backend/auth/set-up-auth/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants