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

Documentation bug in instruction for adding amplify-authenticator #277

Closed
samira-zarandioon opened this issue Dec 5, 2018 · 2 comments
Closed
Labels
amplify/js Issues tied to JS

Comments

@samira-zarandioon
Copy link

The documentation at https://aws-amplify.github.io/docs/js/ionic states:

"To use Authenticator, just add the amplify-authenticator directive in your .html view

  ...
  <amplify-authenticator framework="Ionic"></amplify-authenticator>
  ...

"

However, when I did this I go the following error:

'amplify-authenticator' is not a known element:

I had to add the following so that the error goes away:

...
import { AmplifyAngularModule, AmplifyIonicModule, AmplifyService } from 'aws-amplify-angular' // Added by me
...
@NgModule({
  imports: [
...
    AmplifyAngularModule, // Added by me
    AmplifyIonicModule,   // Added by me
...

If you search the Internet, you will see that I'm not the only one facing this issue, the documentation needs to be fixed.

@frankmuellr frankmuellr added the amplify/js Issues tied to JS label Dec 6, 2018
@AustinBrock
Copy link

Thank you very much, @samira-zarandioon, I indeed was struggling with this until I found your post.

@jordanranz
Copy link
Contributor

Documentation for adding the angular and ionic module can be found here:
https://aws-amplify.github.io/docs/js/angular#option-1-configuring-the-amplify-provider-with-every-amplify-js-module

The docs for the Ionic component have been updated here:
https://aws-amplify.github.io/docs/js/angular#ionic-4-components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/js Issues tied to JS
Projects
None yet
Development

No branches or pull requests

4 participants