http-vue-loader
http-vue-loader copied to clipboard
Clarification: httpVueLoader(...)() kinda works most of the time.
Mostly a clarification/question:
I had an issue here where suddenly in my project I was not able to use custom components registered in the "outer" Vue environment any more, and the same with $plugins: they were not available (undefined) on this.$*
but was available through this.$root.$*
(in the http-vue-loader components' contexts).
I eventually tracked it down to having used httpVueLoader(url)()
instead of just httpVueLoader(url)
when loading the components. I'm not sure why the first variant event works, but apparently it did.
The first variant DOES seems to work a random'th portion of the time, but then just suddenly starts misbehaving again, then works again, then stops working. Is there any logic behind this? :) A promise / caching / load time race condition combo of sorts?
Are you able to provide a minimalist testcase ?