device
device copied to clipboard
Nuxt module for detecting device type.
Webstorm is unable to locate the types for the $device helper. Not really familiar with Nuxt plugins/modules so unfortunately I'm not able to locate the issue. App fails nuxi typecheck...
# Documentation I followed these two steps from the documentation. ``` yarn add --dev @nuxtjs/device ``` ``` { modules: [ '@nuxtjs/device', ] } ``` But, something unexpected happened.  ...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [playwright](https://playwright.dev) ([source](https://togithub.com/microsoft/playwright)) | [`1.33.0` -> `1.41.2`](https://renovatebot.com/diffs/npm/playwright/1.33.0/1.41.2) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nuxt/test-utils](https://togithub.com/nuxt/test-utils) | [`3.7.3` -> `3.11.0`](https://renovatebot.com/diffs/npm/@nuxt%2ftest-utils/3.7.3/3.11.0) | [](https://docs.renovatebot.com/merge-confidence/)...
Even if we write `refreshOnResize` to `true`, `useDevice` composable doesn't return reactive value and doesn't change on window resize
I am using Nuxt device with Nuxt 3. But, refreshOnResize is not working properly. I mean, If I resize window, it is not reloading.
I have this strange error on my code. im using the $device on layouts/default.vue like this: ``` NavBar Header ``` and i got this strange error. 
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [jsdom](https://togithub.com/jsdom/jsdom) | [`^20.0.2` -> `^24.0.0`](https://renovatebot.com/diffs/npm/jsdom/20.0.3/24.0.0) | [](https://docs.renovatebot.com/merge-confidence/)...
I'm having issues getting types to work with this Nuxt 3 module and plugins. Whenever `$device` is accessed from `nuxtApp`, there are no types defined. Plugins allow you to extend...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [defu](https://togithub.com/unjs/defu) | [`6.1.2` -> `6.1.4`](https://renovatebot.com/diffs/npm/defu/6.1.2/6.1.4) | [](https://docs.renovatebot.com/merge-confidence/)...