rework reaktywności danych z API i WS

This commit is contained in:
2023-10-30 23:19:17 +01:00
parent 12ece46089
commit 8de03b9210
24 changed files with 501 additions and 446 deletions
+4
View File
@@ -7,6 +7,7 @@ import plLang from './locales/pl.json';
import { createI18n } from 'vue-i18n';
import { createPinia } from 'pinia';
import useCustomSW from './mixins/useCustomSW';
const i18n = createI18n({
locale: 'pl',
@@ -20,6 +21,9 @@ const i18n = createI18n({
enableLegacy: false
});
// SW
useCustomSW();
const clickOutsideDirective: Directive = {
mounted(el, binding) {
el.clickOutsideEvent = (event: Event) => {