flaschengeist-frontend/src/boot/loading.ts

14 lines
495 B
TypeScript
Raw Normal View History

2020-10-30 08:57:39 +00:00
import { boot } from 'quasar/wrappers';
import { Loading } from 'quasar';
2020-10-31 21:37:28 +00:00
import DarkCircularProgress from 'components/loading/DarkCircularProgress.vue';
2020-10-30 08:57:39 +00:00
// "async" is optional;
// more info on params: https://quasar.dev/quasar-cli/cli-documentation/boot-files#Anatomy-of-a-boot-file
export default boot((/* { app, router, Vue ... } */) => {
2020-10-30 08:57:39 +00:00
Loading.setDefaults({
2020-10-31 21:37:28 +00:00
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
spinner: DarkCircularProgress
2020-10-30 08:57:39 +00:00
});
});