Closed bluezald closed 4 years ago
The readme has everything you need.
https://github.com/ankurk91/vue-loading-overlay#global-configs
When i use as plugin in Vue 3.2.24, I can't set global config for plugin,
app.use(VueLoading,{
color: 'red',
backgroundColor: '#f8f8',
lockScroll: true,
});
It's just doesnt work.
But when define props in where I calling show function it works, how this happening?
@YusufcanY
Please share a minimal re-production on codesandbox or jsfiddle
Actually i got the problem in here. We can not define global config when using composition api. Am I right?
you can not expect global config when using it via composition api
yea i got that thanks for the time
Can we use the loader to set its global options when installing as plugin, like this:
so that when I call it, I can do this
instead of