mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
chore: added station filters (scenery types); pwa adjustments
This commit is contained in:
+7
-2
@@ -5,10 +5,15 @@ import router from './router';
|
||||
import i18n from './i18n';
|
||||
|
||||
import { createPinia } from 'pinia';
|
||||
import useCustomSW from './mixins/useCustomSW';
|
||||
import { registerSW } from 'virtual:pwa-register';
|
||||
|
||||
// Service worker
|
||||
useCustomSW();
|
||||
registerSW({
|
||||
immediate: true,
|
||||
onNeedRefresh() {
|
||||
console.log('Needs refresh!');
|
||||
}
|
||||
});
|
||||
|
||||
const clickOutsideDirective: Directive = {
|
||||
mounted(el, binding) {
|
||||
|
||||
Reference in New Issue
Block a user