Global usage is not working /Lazyload
Closed this issue · 0 comments
SergkeiM commented
When Component registred globally:
import Vue from 'vue'
import vueSelectSides from "vue-select-sides";
Vue.use(vueSelectSides, {
locale: "en_US"
});
Throws an error:
<vue-select-sides> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
So you need always to Import Vue and in all child components.
Also Lazyload is not working:
components: {
vueSelectSides: () => import("vue-select-sides")
},
Error:
"TypeError: Cannot read property 'orderBy' of undefined"