Open
Description
🐛 The bug
reference - https://capacitorjs.com/docs/web/pwa-elements
The PWE Elements for Capacitor Components need to be installed and initialized in the vuejs application.
The current solution I have implemented is to add the following to the page where I need to use one of them
<Html>
<Head>
<Script
type="module"
src="https://unpkg.com/@ionic/pwa-elements@latest/dist/ionicpwaelements/ionicpwaelements.esm.js"
></Script>
<Script
nomodule
src="https://unpkg.com/@ionic/pwa-elements@latest/dist/ionicpwaelements/ionicpwaelements.js"
></Script>
</Head>
</Html>
🛠️ To reproduce
https://stackblitz.com/edit/github-eahsnx?file=pages/tabs/tab2.vue
🌈 Expected behaviour
It would be nice if the module integrated this into the code so it wouldn't need to be configured manually
ℹ️ Additional context
No response