-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Vue Amplify Getting Started - "Subscribe only available for AWS AppSync endpoint" and "No graphql endpoint provided." #2177
Comments
hey @dinnouti - can you provide the selections and input you provided to see that error? Thank you |
In the documentation wasn't very clear where to put the AWS Amplify imports. Not a bug but a clarification and a recommendation for the documentation. |
Got it. That makes sense to me. Will mark to add it. |
@dinnouti - just brought this up with the team. We've recently reviewed the Vue getting started and with the newer updates feel it is clear with using the Amplify imports. Could you open a new issue if aspects could still be improved or contribute directly? |
For those who google their way here, but didn't understand exactly what the OP meant (maybe because you're not a vue user), here's the gist: Make sure your subscriptions are added after In other words, if you need to do things at the top level of your code, e.g. add subscriptions, do them in the same file, where |
if you are following the AWS Vue / Amplify Getting started and getting a "Subscribe only available for AWS AppSync endpoint" and "No graphql endpoint provided." error on Chrome console.
It would be nice to have this example in the tutorial:
The text was updated successfully, but these errors were encountered: