mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-21 05:14:07 +00:00
15 lines
274 B
JavaScript
Vendored
15 lines
274 B
JavaScript
Vendored
import VueLadda from './vue-ladda.vue';
|
|
|
|
const installer = {
|
|
install(Vue, options) {
|
|
Vue.component('vue-ladda', VueLadda);
|
|
}
|
|
};
|
|
|
|
const inBrowser = typeof window !== 'undefined';
|
|
if (inBrowser && window.Vue) {
|
|
window.Vue.use(installer);
|
|
}
|
|
|
|
export default VueLadda;
|