feat(pwa): add install PWA widget (#1451)
This commit is contained in:
parent
3c888d3914
commit
f96cdae1ba
8 changed files with 73 additions and 1 deletions
|
@ -42,6 +42,7 @@ const wideLayout = computed(() => route.meta.wideLayout ?? false)
|
|||
<slot name="header" />
|
||||
</div>
|
||||
<div :class="{ 'xl:block': $route.name !== 'tag' }" hidden h-6 />
|
||||
<PwaInstallPrompt lg:hidden />
|
||||
<div :class="isHydrated && wideLayout ? 'xl:w-full sm:max-w-600px' : 'sm:max-w-600px md:shrink-0'" m-auto>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue