question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set Loader Options when using as Plugin

See original GitHub issue

Can 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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
YusufcanYcommented, Jan 13, 2022

yea i got that thanks for the time

1reaction
ankurk91commented, Feb 12, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found