Created
May 13, 2018 02:50
-
-
Save wataruoguchi/b0f596d814c2ea1ff6fda8f2bf3cdf33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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