How to add capacitor with newly build quasar app? #16261
-
I created quasar app with below steps but confused where and how the capacitor will be used.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I know this is an old question, but having just started working with Quasar/Capacitor Android myself, the answers are fresh in my mind. In the current set of docs for Quasar under Developing Mobile Apps (either Vite or Webpack) there you'll find a set of instructions on how to get Capacitor added to your project. The actual commands run from your project directory are It may look daunting at first, but Quasar's docs are so good that if you follow them, you shouldn't have any issues building your first app and deploying it to the phone emulator. |
Beta Was this translation helpful? Give feedback.
I know this is an old question, but having just started working with Quasar/Capacitor Android myself, the answers are fresh in my mind. In the current set of docs for Quasar under Developing Mobile Apps (either Vite or Webpack) there you'll find a set of instructions on how to get Capacitor added to your project.
The actual commands run from your project directory are
quasar mode add capacitor
and to build, usequasar dev -m capacitor -T [android|ios]
, but there is a good bit of upfront work required before you can build the app. You have to install the Android Studio and pick the build targets (SDKs) or if on a Mac and targeting iOS, install XCode, and in both cases setup a handful of en…