Skip to content

Instantly share code, notes, and snippets.

@t-okushima
Created May 26, 2019 12:48
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 t-okushima/89b42fb1b25fddc1d30d5debe0103453 to your computer and use it in GitHub Desktop.
Save t-okushima/89b42fb1b25fddc1d30d5debe0103453 to your computer and use it in GitHub Desktop.
AWS Amplifyを使ってログインを実装する(amplifyパッケージ追加)
import Vue from "vue";
import Amplify, * as AmplifyModules from "aws-amplify";
import { AmplifyPlugin } from "aws-amplify-vue";
import amplifyConfig from "./aws-exports";
import App from "./App.vue";
import router from "./router";
Amplify.configure(amplifyConfig);
Vue.use(AmplifyPlugin, AmplifyModules);
Vue.config.productionTip = false;
new Vue({
router,
render: h => h(App)
}).$mount("#app");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment