Created
July 2, 2018 22:28
-
-
Save thomsbg/d89926bf1f6bbd16b38e4a17a6139406 to your computer and use it in GitHub Desktop.
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
diff --git a/app/frontend/packs/application.js b/app/frontend/packs/application.js | |
index b9316e776..6f265a41f 100644 | |
--- a/app/frontend/packs/application.js | |
+++ b/app/frontend/packs/application.js | |
@@ -38,9 +38,7 @@ const apolloProvider = new VueApollo({ | |
document.addEventListener('DOMContentLoaded', () => { | |
console.log(apolloProvider); | |
new Vue({ | |
- components: { App }, | |
- router, | |
- provide: apolloProvider.provide(), | |
- ...App | |
+ render: h => h(App), | |
+ provide: apolloProvider.provide() | |
}).$mount("#app"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment