Skip to content

Instantly share code, notes, and snippets.

@wataruoguchi
Created May 13, 2018 02:50
Show Gist options
  • Select an option

  • Save wataruoguchi/b0f596d814c2ea1ff6fda8f2bf3cdf33 to your computer and use it in GitHub Desktop.

Select an option

Save wataruoguchi/b0f596d814c2ea1ff6fda8f2bf3cdf33 to your computer and use it in GitHub Desktop.
import Vue from 'vue'
import Multiselect from 'wherever-your-code-exists/Multiselect.vue'
const bind = function(param) {
Vue.component('multiselect', Multiselect);
return new Vue({
el: param.el,
data: {
options: param.options,
labels: param.labels
}
});
};
export bind;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment