Last active
June 3, 2021 02:51
-
-
Save chaeyeonhan1225/8919e321b1a1943bed8313af916ce28c to your computer and use it in GitHub Desktop.
apollo
This file contains hidden or 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 App from "./App.vue"; | |
| import router from "./router"; | |
| import store from "./store"; | |
| import VueApollo from "vue-apollo"; | |
| import { apolloClient } from "./apolloClient"; | |
| Vue.config.productionTip = false; | |
| const apolloProvider = new VueApollo({ | |
| defaultClient: apolloClient, | |
| }); | |
| Vue.use(VueApollo); | |
| new Vue({ | |
| router, | |
| store, | |
| apolloProvider, | |
| render: (h) => h(App), | |
| }).$mount("#app"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment