Releases: nuxt-modules/device
Releases · nuxt-modules/device
v2.0.0
This new version breaks using flags directly from ctx
(ex: ctx.isMobile
), you need to use $device.isMobile
.
- Removed flags attached to the context:
ctx.isMobile
is nowctx.$device.isMobile
- Added
device
option innuxt.config.js
- Improvements the REAME
- Upgraded dependencies
- Added yarn dev comment to run the fixture + allow CodeSandbox demo