Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

feat: usePWAIcon composable #43

Merged
merged 4 commits into from
Oct 1, 2022
Merged

feat: usePWAIcon composable #43

merged 4 commits into from
Oct 1, 2022

Conversation

kevinmarrec
Copy link
Owner

@kevinmarrec kevinmarrec commented Oct 1, 2022

Resolves #39

<template>
  <main class="container h-screen mx-auto flex justify-center items-center">
    <div class="justify-center items-center">
      <img :src="usePWAIcon(192)">
      <span class="text-lg">This page should work offline.</span>
    </div>
  </main>
</template>

image

@kevinmarrec kevinmarrec merged commit adfac55 into main Oct 1, 2022
@kevinmarrec kevinmarrec deleted the use-pwa-icon branch October 1, 2022 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access generated icon via composable
2 participants