0👍
Maybe this?
mounted: function() {
M.AutoInit();
var options = {
data: {
"Emma Stone": null,
"Batman": null,
"Luke Skywalker": null,
},
onAutocomplete: function(res) {
this.v-model_variable_name = res
},
};
var elems = document.querySelectorAll(".autocomplete");
var instances = M.Autocomplete.init(elems, options);
console.log(instances);
},
Or this answer in stackoverflow?
Did you found something since?
- [Vuejs]-Change items to display in ox carousel with vue.js
- [Vuejs]-VueJs component not showing in page (using Laravel framework)
Source:stackexchange.com