Closed lorens-osman-dev closed 3 months ago
I apologize, but there are no plans to integrate Capacitor into this project. However, I have successfully integrated Capacitor into the project following the official documentation: https://capacitorjs.com/solution/vue
pnpm i @capacitor/core @capacitor/cli
npx cap init [YOUR_APP_NAME] [YOUR_APP_ID] --web-dir=dist
pnpm build
pnpm i @capacitor/android
npx cap add android
Thanks that's works 🙏 , For every one wants to use vue3-h5-template with Ionic
vs code extension to convert the project to [android,ios] you will face some problems :
18.18.2
, use nvm to install and use node 18.18.2
.zsh
shell open vs code settings > Extensions > Ionic > shell path > put /bin/zsh
, If you don't use zsh
ignore this step.capacitor.config.ts
change webDir
option from build
to dist
.vite.config.ts
remove viteCompression()
function because that make errors in android studio
.
can you add ionic capacitor integration, so we can build Android + IOS apps ?
i use ionic vs code extension, when i :