Platform detection and google chrome emulator
-
Hi,
I think that platform detection works great:<div v-if="$q.platform.is.desktop"> I'm only rendered on desktop! </div> <div v-if="$q.platform.is.mobile"> I'm only rendered on mobile! </div>
Would there be a way to get this working when using the chrome emulator.
As you can see from this screenshot, the emulator is not aware that it is a mobile device
-
My Bad, need a hard Refresh. Probably platform is detected on app startup.
-
@paul said in Platform detection and google chrome emulator:
My Bad, need a hard Refresh. Probably platform is detected on app startup.
Youโre right
You must reload the page for chrome dev tools to render the app using a specific platform.