jws-frontend/src/boot/components.ts

16 lines
616 B
TypeScript
Raw Normal View History

2025-03-26 11:51:27 +07:00
import { defineBoot } from '#q-app/wrappers';
2024-04-09 17:55:55 +07:00
import VueDatePicker from '@vuepic/vue-datepicker';
2024-07-08 11:21:00 +07:00
import '@vuepic/vue-datepicker/dist/main.css';
2024-04-02 11:02:16 +07:00
import GlobalDialog from 'components/GlobalDialog.vue';
import GlobalLoading from 'components/GlobalLoading.vue';
2024-12-24 13:17:43 +07:00
import VueDragscroll from 'vue-dragscroll';
2025-03-04 11:02:26 +07:00
import VueApexCharts from 'vue3-apexcharts';
2024-04-02 11:02:16 +07:00
2025-03-26 11:51:27 +07:00
export default defineBoot(({ app }) => {
2024-04-02 11:02:16 +07:00
app.component('global-dialog', GlobalDialog);
app.component('global-loading', GlobalLoading);
2024-04-09 17:55:55 +07:00
app.component('VueDatePicker', VueDatePicker);
2025-03-04 11:02:26 +07:00
app.component('VueApexCharts', VueApexCharts);
2024-12-24 13:17:43 +07:00
app.use(VueDragscroll);
2024-04-02 11:02:16 +07:00
});