Open websanova opened 5 years ago
This is broken for me as well. However I was able to monkey patch it by adding this mixin to my root component:
Vue.mixin({
beforeCreate() {
if (!this.$options.http) {
this.$options.http = this.$root.$options.http;
}
}
});
I'm using:
Edit: simplifying mixin patch
I'm having issue with options.
When using
Vue.http.options.root
it's all good, when including with Vue instance it seems to be ignored.Same as issue here:
https://github.com/pagekit/vue-resource/issues/487
Not sure why that was closed.