mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-21 20:00:44 +00:00
34 lines
501 B
JavaScript
34 lines
501 B
JavaScript
import * as All from "quasar";
|
|
import Vue from "vue";
|
|
|
|
const {
|
|
Quasar,
|
|
Dialog,
|
|
Loading,
|
|
LoadingBar,
|
|
Meta,
|
|
Notify,
|
|
ClosePopup } = All;
|
|
|
|
const components = Object.keys(All).reduce((object, key) => {
|
|
const val = All[key];
|
|
if (val && val.component && val.component.name != null) {
|
|
object[key] = val;
|
|
}
|
|
return object;
|
|
}, {});
|
|
|
|
Vue.use(Quasar, {
|
|
components,
|
|
plugins: [
|
|
Dialog,
|
|
Loading,
|
|
LoadingBar,
|
|
Meta,
|
|
Notify
|
|
],
|
|
directives: [
|
|
ClosePopup
|
|
]
|
|
});
|