ionic 3 publish app as PWA (Progressive Web App)
问题 I want to publish my app as PWA so what i did is insert this script to index.html <!--script> if ('serviceWorker' in navigator) { navigator.serviceWorker.register('service-worker.js') .then(() => console.log('service worker installed')) .catch(err => console.log('Error', err)); } </script--> then install npm run ionic:build --prod it looks like it deploy it but my questions are: what files I need to upload to host for publish the app as PWA? why when I change something in the app and run