-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
bugSomething isn't workingSomething isn't working
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
danielroe, mtzrmzia and RichiCoder1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working