Closed oal closed 4 years ago
Hi,
We are sorry but we only support android and ios as targets. There is no point in supporting the browser target since you can run directly on an emulator or a real phone/tablet and still have access to dev tools and HMR.
I understand, although there is some value to using a single code base, and Cordova plugins in the browser as well.
The "App target" portion of the CLI output should be updated though, to only show "android" and "ios".
Agreed. Updated. Thought it was mentioning this clearly already.
Describe the bug Building a Quasar app in Cordova mode with the
browser
target fails because any other target than Android expectssrc-cordova/platforms/ios/build/emulator
to exist: https://github.com/quasarframework/quasar/blob/dev/app/lib/cordova/index.js#L68Codepen/jsFiddle/Codesandbox (required) N/A. This is related to the Quasar CLI.
To Reproduce
quasar build -m cordova -T browser
Crashes with:
Expected behavior The built app should be output to
dist/cordova/browser
.Platform (please complete the following information): OS: Ubuntu 19.10 Node: v14.2.0 NPM: 6.9.0 Yarn: Browsers: iOS: Android: Electron:
Additional context This issue most likely exists for any of the other Cordova targets besides iOS and Android: