Set Loader Options when using as Plugin
See original GitHub issueCan we use the loader to set its global options when installing as plugin, like this:
Vue.use(Loading, {
container: null,
isFullPage: true,
loader: 'dots'
})
so that when I call it, I can do this
this.$loading.show()
instead of
let loader = this.$loading.show({
container: null,
isFullPage: true,
loader: 'dots'
})
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Loaders - webpack
Loaders are transformations that are applied to the source code of a module. They allow you to pre-process files as you import or...
Read more >Webpack plugin: How to dynamically add a loader to a module?
I'm not sure whether it's the best solution, but this code appears to work: class MyPlugin { apply(compiler) ...
Read more >TypeStrong/ts-loader: TypeScript loader for webpack - GitHub
IMPORTANT: If you are using fork-ts-checker-webpack-plugin alongside HappyPack or thread-loader then ensure you set the syntactic diagnostic option like so:.
Read more >Usage in Webpack - App Config
# Loading Options ... If you need to, you can pass options for the webpack plugin to use when loading app-config. ... The...
Read more >Introduction to webpack: Entry, Output, Loaders, and Plugins
With just this small set of configurations, we are already able to run a ... with options, like here where we are configuring...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yea i got that thanks for the time
The readme has everything you need.
https://github.com/ankurk91/vue-loading-overlay#global-configs