device

Nuxt module for detecting device type.

MIT License

Downloads
313.1K
Stars
851
Committers
28

Bot releases are hidden (Show)

device - v2.2.0 Latest Release

Published by dotneet over 1 year ago

What's Changed

Full Changelog: https://github.com/nuxt-community/device-module/compare/v2.1.0...v2.2.0

device - v3.1.0

Published by dotneet over 1 year ago

What's Changed

Full Changelog: https://github.com/nuxt-community/device-module/compare/v3.0.0...v3.1.0

device - v3.0.0

Published by dotneet almost 2 years ago

Features

  • Nuxt3 support
device - v2.1.0

Published by dotneet over 3 years ago

Features

Bug Fixes

  • fix incorrect regex for edge browser (79e4ffd)
  • make the regex that detect a crawler case sensitive. (8032d85)
device - v2.0.1

Published by dotneet over 3 years ago

Features

  • added support for the in-app browsers of Instagram and Facebook (#59)
device - v2.0.0

Published by Atinux over 3 years ago

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
device -

Published by dotneet over 5 years ago

  • support TypeScript
Package Rankings
Top 1.7% on Npmjs.org
Badges
Extracted from project README
npm version npm downloads License Nuxt