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.

How to register it without require or import?

See original GitHub issue

Hi,

I would like to use this plugin at legacy page where I don’t have webpack or require, so how can I register multiselect like:

new Vue({
  el: '#app',
  components: {
    'multiselect': <<< ??? HOW TO REGISTER IT HERE >>>
  },
  data: {
    selected: null,
    options: ['list', 'of', 'options']
  },
  methods: {
    updateSelected (newSelected) {
      this.selected = newSelected
    }
  }
})

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
antholordcommented, Mar 6, 2018

This info should be more accessible on the official page. Took me a while to find it.

1reaction
shentaocommented, Dec 1, 2016

Should be available as window.VueMultiselect.default when you add it with just a <script> tag.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Registering a foreign registered vehicle, car or motorcycle in ...
The Department of Motor Vehicles (DMV) will not register a vehicle that has been imported into the U.S. without proof that an entry...
Read more >
Importing and Exporting | USAGov
Most items exported to a foreign buyer will not require an export license. However, all items are subject to export control laws and...
Read more >
Imported Vehicle Registration - California DMV - CA.gov
To register your imported vehicle, you'll need: An out-of-state title (or other proof of ownership). Evidence that the vehicle has cleared customs.
Read more >
Do You Need an Import License to Import Into the United States?
Documents required for entry include: Entry Manifest (CBP Form 7533). Proof of right to make entry.
Read more >
FACT SHEET - PennDOT
PennDOT will issue a certificate of title and a registration for an imported vehicle when the applicant submits proof that the vehicle complies...
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