mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
rework reaktywności danych z API i WS
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user