How to Setup PWA(Progressive Web App) in vite react app
A PWA (Progressive Web App) is a web app that uses modern web technologies to deliver a user experience similar to that of a native app. PWAs are designed to be fast, reliable, and engaging, and can be installed on the user's device like a native app...
blog.zasela.site2 min read
Simon Ugorji
Full-stack web developer & Technical writer
Great article! Thank you
I noticed something though
For vite-plugin-pwa Version ^0.14.4 the createPWA function was not found so I checked the file and saw VitePWA instead and I used it.
Another thing though. If you are not using type: module in your package.json, in the pwa.config.js file, use the export keyword to export all properties that would be used to generate the manifest file
I hope this helps someone