-
-
Save t-okushima/89b42fb1b25fddc1d30d5debe0103453 to your computer and use it in GitHub Desktop.
AWS Amplifyを使ってログインを実装する(amplifyパッケージ追加)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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