Hi,
I just upgraded to Quasar 0.15, and I found that my page does not render and throws the following error in the console:
TypeError: __WEBPACK_IMPORTED_MODULE_2_quasar__.b.is is undefined
I tracked it to the if (Platform.is.cordova)
line, which worked fine before the upgrade. But now when I import { Platform } from 'quasar'
, the Platform
object looks as follows (as found out with console.log
):
__installed: false
install: install()
length: 1
name: "install"
__proto__: function ()
__proto__: Object { … }
i.e. it doesn’t really look like much.
Am I doing something wrong? This part of the docs (http://quasar-framework.org/components/platform-detection.html) has stayed the same even for the 0.15 version.
Thanks!