Created
August 10, 2023 22:54
-
-
Save quentin-aslan/8c52cfe13f7ccba9ff733f55a9744a70 to your computer and use it in GitHub Desktop.
This gist provides a Vue.js component with step-by-step instructions to guide users on installing the PWA (Progressive Web App) and enabling notifications on both Android and iOS devices. It's crafted to be user-friendly with the inclusion of emojis for visual guidance. Designed to enhance user experience, this component emphasizes the importancโฆ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="container"> | |
<div> | |
<h2>Installation Guide</h2> | |
<p><strong>Note:</strong> This website is not fully available unless you install it as a PWA. Please follow the instructions below to install and get the best experience. ๐</p> | |
<h3>iOS (Safari) ๐</h3> | |
<h4>1. Installing the PWA:</h4> | |
<ol> | |
<li>Open the application in the Safari ๐ browser.</li> | |
<li>Tap the share button (a box with an arrow pointing up) ๐ at the bottom of the screen.</li> | |
<li>Scroll through the options and tap on "Add to Home Screen" ๐ .</li> | |
<li>Name the app if you wish, then tap on "Add" on the top right.</li> | |
<li>The app icon will appear on your home screen. You can launch it like any other app ๐.</li> | |
</ol> | |
<h3>Android ๐ค</h3> | |
<h4>1. Installing the PWA:</h4> | |
<ol> | |
<li>Open the application in the Chrome ๐ browser for Android.</li> | |
<li>Tap the "โฎ" button on the top right to open the menu.</li> | |
<li>Select "Add to Home screen" ๐ from the menu.</li> | |
<li>A popup will appear. Tap on "Add" or "Install" ๐ฒ.</li> | |
<li>The app icon will appear on your home screen. You can launch it like any other app ๐.</li> | |
</ol> | |
</div> | |
</div> | |
</template> | |
<script setup lang="ts"> | |
</script> | |
<style scoped> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment