Converting Your React Vite App into PWA

  Рет қаралды 5,347

Amine Triki TV

Amine Triki TV

Күн бұрын

Пікірлер: 16
@codin7367
@codin7367 2 ай бұрын
still not working, why you don't show the preview of the progressive web app, did you made a mistake?
@aminetrikitv
@aminetrikitv 2 ай бұрын
What is the problem that appears in console or lighthouse? You can see my code on github: github.com/Amine-Triki/wather-react-pwa And website: wather-react-pwa.vercel.app/
@AnantGupta-c6c
@AnantGupta-c6c Ай бұрын
sirf background mai music lagake video engaging nhi banti
@ns-gabrielmendoza1329
@ns-gabrielmendoza1329 3 ай бұрын
Where did the masked-icon and all the icon images came from?
@aminetrikitv
@aminetrikitv 3 ай бұрын
You can use favicon.io to create icon images and maskable.app/editor to create maskable icons
@infinitecodes
@infinitecodes 4 ай бұрын
Bro please provide the source code also
@aminetrikitv
@aminetrikitv 3 ай бұрын
github.com/Amine-Triki/wather-react-pwa
@DevDan115
@DevDan115 2 ай бұрын
I just did this And it worked but the indexeddb that I was using stopped working so did the speechSynthesis api
@aminetrikitv
@aminetrikitv 2 ай бұрын
1. Ensure the Service Worker Doesn’t Cache Incorrect Requests: Make sure the Service Worker is not caching responses for IndexedDB requests. These requests should be directed straight to the server or IndexedDB, not through the cache. Verify that the cache path doesn’t include data related to IndexedDB or the SpeechSynthesis API. 2. Check Permissions: Ensure that the SpeechSynthesis API has the necessary permissions to work even with the Service Worker. You can try running the SpeechSynthesis API without the Service Worker enabled to see if the Service Worker is causing the issue. 3. Handle Errors: Add logging to the Service Worker to monitor requests and see if any requests related to IndexedDB or the SpeechSynthesis API are being blocked or modified. self.addEventListener('fetch', (event) => { console.log('Fetching:', event.request.url); // You can add a condition to exclude specific requests }); 4. Verify IndexedDB and SpeechSynthesis API: Run tests on the IndexedDB and SpeechSynthesis API immediately after enabling the Service Worker to ensure these APIs are working as expected. If issues persist, try disabling the Service Worker to see if it’s the root cause.
@DevDan115
@DevDan115 2 ай бұрын
@@aminetrikitv How do I check all this And how do I disable the service worker cache
@DevDan115
@DevDan115 2 ай бұрын
@@aminetrikitv I think the issue was the safari version I’m using it’s working just fine on my desktop Thanks for the tutorial
@sofmagon
@sofmagon 8 ай бұрын
Thanks a lot !!!
@agathant.a
@agathant.a 5 ай бұрын
yoo bro.. can you provide a tutorial on the instalation Vite PWA?
@aminetrikitv
@aminetrikitv 4 ай бұрын
Hello, For React or Vue, you need to use 'npm i vite-plugin-pwa' . If something is not clear, tell me exactly what the problem is and I will try to answer.
@randyb6312
@randyb6312 10 ай бұрын
*PromoSM*
A Beginner's Guide to Add PWA to Your Website Using Vite PWA
13:16
This Dot Media
Рет қаралды 11 М.
The Real Reason Why Todays Music Is Starting To Sound The Same
21:59
Freaking Out With Billy Hume
Рет қаралды 190 М.
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 128 МЛН
Expo SDK 52: Our largest release ever!
10:51
Expo
Рет қаралды 11 М.
Coding Shorts: Using the Vite PWA Plug-in
14:05
Shawn Wildermuth
Рет қаралды 27 М.
Vite Bits: 03. Building a PWA with Vite
11:47
Version 2 Software
Рет қаралды 832
Faite fonctionner votre site hors ligne avec Vite PWA
18:14
Grafikart.fr
Рет қаралды 10 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 188 М.
How Your Tech Keeps LYING To You
19:38
Enrico Tartarotti
Рет қаралды 30 М.
7 Web Features You Didn’t Know Existed
10:16
Fireship
Рет қаралды 278 М.