Comments dramalanguage started the conversationSeptember 22, 2022 at 4:00pmHello wplmsI am trying to distribute a pwa app. And the documentation instructed me to insert the code below into the head. Where can I insert the code below?<link rel="manifest" href="manifest.json" /><script type="module"> import 'https://cdn.jsdelivr.net/npm/@pwabuilder/pwaupdate'; const el = document.createElement('pwa-update'); document.body.appendChild(el);</script>[deleted] repliedSeptember 24, 2022 at 2:52pmThere is no need to add : <link rel="manifest" href="manifest.json" />Its already done at pwa page (bp single page ) . Please follow this : Sign in to reply ...
Hello wplms
I am trying to distribute a pwa app.
And the documentation instructed me to insert the code below into the head. Where can I insert the code below?
<link rel="manifest" href="manifest.json" />
<script type="module">
import 'https://cdn.jsdelivr.net/npm/@pwabuilder/pwaupdate';
const el = document.createElement('pwa-update');
document.body.appendChild(el);
</script>
There is no need to add : <link rel="manifest" href="manifest.json" />
Its already done at pwa page (bp single page ) .
Please follow this :