Skip to content

Instantly share code, notes, and snippets.

@t-okushima
Created May 26, 2019 12:49
Show Gist options
  • Save t-okushima/55c52ea3adccf8ba868efe623aaf4d86 to your computer and use it in GitHub Desktop.
Save t-okushima/55c52ea3adccf8ba868efe623aaf4d86 to your computer and use it in GitHub Desktop.
AWS Amplifyを使ってログインを実装する(vuesax追加)
import Vue from "vue";
import Vuesax from "vuesax";
import "vuesax/dist/vuesax.css";
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";
Vue.use(Vuesax);
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