Add PWA Support

This commit is contained in:
2022-05-04 21:54:21 +02:00
parent 7091cfddef
commit d3a49eed49
7 changed files with 6291 additions and 9 deletions

View File

@ -9,6 +9,11 @@
--bottomnav-active-color: #7ca74b;
}
html,
body {
height: 100%;
}
body {
margin: 0;
padding: 0;

View File

@ -1,9 +1,14 @@
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import { registerSW } from "virtual:pwa-register";
const app = createApp(App);
app.use(router);
app.mount("#app");
registerSW({
onOfflineReady() {},
});