2024-03-05 11:36:21 +03:00

19 lines
315 B
JavaScript

import * as R from 'ramda'
const RamdaVue = {
install: (app) => {
app.$R = R;
app.config.globalProperties.$R = R;
R.ifElse(
R.and(R.compose(R.not, R.isNil), R.has("Vue")),
(win) => {
win.Vue.use(RamdaVue);
},
() => {}
)(window);
},
};
export default RamdaVue;