I accidentally deleted my amplify frontend and created a new one. How do I import the existing amplify back end to the newly created amplify app project folder?
I followed the steps on the backend tab
amplify init --appId ("ID OF YOUR NEW AMPLIFY APP")
.
Instead of amplify add CATEGORY
here. I use amplify update CATEGORY
here
Then amplify push
.
But when I check the amplify app on the AWS console there still no backend integrated to it.
Am I doing correct?
Version used:
"aws-amplify": "^2.1.0"
you can use the following command:
amplify pull --appId someidgoeshere --envName dev
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With