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

How do I fork the package aws-amplify-react? #4863

Closed
brianarpie opened this issue Feb 7, 2020 · 5 comments
Closed

How do I fork the package aws-amplify-react? #4863

brianarpie opened this issue Feb 7, 2020 · 5 comments
Labels
question General question React React related issues

Comments

@brianarpie
Copy link

I want to fork the aws-amplify-react package to modify some of the components.

How do I fork just that package and include it in my project? I'm confused

@brianarpie brianarpie added the question General question label Feb 7, 2020
@sammartinez
Copy link
Contributor

@brianarpie There is currently not a way just to fork the aws-amplify-react package, you'll will need to fork the entire repo and make the changes needed inside of the aws-amplify-react package. However, I am curious on what changes you are looking for. Could you provide some insights into what you are looking to change? Im curious of UI Component Refactor will help you. Please let us know.

@brianarpie
Copy link
Author

@sammartinez thanks for the reply! Right now I have "aws-amplify" and "aws-amplify-react" entries in my package.json. If I fork "aws-amplify" and replace the package.json to point to my forked git repo, how do I correct the "aws-amplify-react" entry so that I can still import components, e.g. import { SignIn } from 'aws-amplify-react';?

I just want to modify the link in the SignIn component that says "No account? Create account". I'm not sure if the issue you referenced would solve that.

Thanks

@jordanranz
Copy link
Contributor

Hey @brianarpie, what are you trying to change that link to? With the new UI Component library @sammartinez mentioned above this may be possible depending on what you are trying to change the link to.

@brianarpie
Copy link
Author

@jordanranz thanks for replying. I've ultimately stepped away from aws-amplify-react and am using aws-amplify with my own custom forms now. Thanks anyways!

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question General question React React related issues
Projects
None yet
Development

No branches or pull requests

3 participants