Skip to content

Releases: nuxt-modules/device

v2.0.0

27 Jan 10:56
Compare
Choose a tag to compare

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 now ctx.$device.isMobile
  • Added device option in nuxt.config.js
  • Improvements the REAME
  • Upgraded dependencies
  • Added yarn dev comment to run the fixture + allow CodeSandbox demo

v1.1.4

11 Mar 03:35
Compare
Choose a tag to compare
  • support TypeScript