diff --git a/app.vue b/app.vue index 1c18baf..1e0b447 100644 --- a/app.vue +++ b/app.vue @@ -2,9 +2,7 @@ import { installPrompt } from './utils/pwa' import { appName } from '~/constants' -// https://github.com/vueuse/head -// you can use this to manipulate the document head in any components, -// they will be rendered correctly in the html results with vite-ssg +// https://nuxt.com/docs/api/composables/use-head useHead({ title: appName, meta: [ @@ -15,8 +13,11 @@ useHead({ ], }) +const indexedDB = useIndexedDB() + onMounted(() => { installPrompt() + indexedDB.init() }) diff --git a/components/BasketButton.vue b/components/BasketButton.vue index bec09be..8c9d54d 100644 --- a/components/BasketButton.vue +++ b/components/BasketButton.vue @@ -1,18 +1,21 @@