v1.0 with SW PWA enabled
This commit is contained in:
16
frontend/node_modules/vite-plugin-pwa/dist/client/dev/vue.js
generated
vendored
Normal file
16
frontend/node_modules/vite-plugin-pwa/dist/client/dev/vue.js
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
// src/client/dev/vue.ts
|
||||
import { ref } from "vue";
|
||||
function useRegisterSW(_options = {}) {
|
||||
const needRefresh = ref(false);
|
||||
const offlineReady = ref(false);
|
||||
const updateServiceWorker = (_reloadPage) => {
|
||||
};
|
||||
return {
|
||||
updateServiceWorker,
|
||||
offlineReady,
|
||||
needRefresh
|
||||
};
|
||||
}
|
||||
export {
|
||||
useRegisterSW
|
||||
};
|
||||
Reference in New Issue
Block a user