Amplify-js: awsmobile vs awsconfig in the aws-exports.js file?

Created on 19 Oct 2018  路  1Comment  路  Source: aws-amplify/amplify-js

* Which Category is your question related to? *
aws-amplify

* What AWS Services are you utilizing? *
aws-amplify

* Provide additional details e.g. code snippets *

When the generated aws-exports.js file is added to my project it contains the awsmobile constant but the docs state it should be awsconfig. Why is this?

const awsmobile = {
vs
const awsconfig = {

Most helpful comment

I came here from Google looking for an answer to this as well. The tutorials attempt to load "awsconfig" from aws-exports.

>All comments

I came here from Google looking for an answer to this as well. The tutorials attempt to load "awsconfig" from aws-exports.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rygo6 picture rygo6  路  3Comments

epicfaace picture epicfaace  路  3Comments

romainquellec picture romainquellec  路  3Comments

benevolentprof picture benevolentprof  路  3Comments

josoroma picture josoroma  路  3Comments