Skip to content

Instantly share code, notes, and snippets.

@wataruoguchi
Last active May 21, 2020 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wataruoguchi/85125275c6ec6bd5f49d0fd740d34e24 to your computer and use it in GitHub Desktop.
Save wataruoguchi/85125275c6ec6bd5f49d0fd740d34e24 to your computer and use it in GitHub Desktop.
// src/main.js
import Amplify from 'aws-amplify'
import awsconfig from './aws-exports'
Amplify.configure(awsconfig)
Vue.use(Auth)
@thomasklein-winemaker
Copy link

thomasklein-winemaker commented May 21, 2020

Hi! Where is the Auth variable coming from? Should that import statement on L2 rather be

import Amplify, { Auth} from 'aws-amplify'

?
Edit: I just saw in the file's revisions that it was in originally. So maybe I'm missing something to better understand this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment