aws-amplify / docs

AWS Amplify Framework Documentation
https://docs.amplify.aws
Apache License 2.0
479 stars 1.02k forks source link

Gen 2 flutter add auth sample code needs rename outputs file #7491

Open hangoocn opened 3 months ago

hangoocn commented 3 months ago

Describe the content issue: The sample code is:

import 'amplifyconfiguration.dart';
await Amplify.configure(outputs);

but these should be renamed to match the actual output generated:

import 'amplify_outputs.dart';
await Amplify.configure(amplifyConfig);

URL page where content issue is: https://docs.amplify.aws/flutter/start/quickstart/#adding-authentication

rashodkorala commented 3 months ago

submit it a pull request