device
device copied to clipboard
Nuxt module for detecting device type.
It would be cool if we could parse userAgents manually (E.g. I'm currently working on a site where you can see your sessions and it would be nice to provide...
Hi, this is a great module, I try to use and test this on the Nuxt.js `head` using `this.$device.isDesktop`: ``` head() { const { $device } = this return {...
Hi, I'm trying to add the plugin globally in my Storybook instance. ``` import Device from '@nuxtjs/device'; Vue.use( Device, { refreshOnResize: true }); ``` But it seems that the options...
When making my web page adaptive for iPad, I used isTablet optioin. And I want it to work properly showing that the device I am using is a tablet -...
Hi, I followed the install instructions. So, I have: ``` // package.json "devDependencies": { "@nuxtjs/device": "^2.0.1", }, // nuxt.config.ts buildModules: [ '@nuxt/typescript-build', '@nuxtjs/vuetify', '@nuxtjs/pwa', '@nuxtjs/firebase', '@nuxtjs/device', ], ``` And yet,...
``` isInWebAppiOS = (window.navigator.standalone === true); isInWebAppChrome = (window.matchMedia('(display-mode: standalone)').matches); return isInWebAppiOS || isInWebAppChrome ```
I keep getting this issue when showing/hiding elements using v-if="", works during dev but not after generate. > Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This...
Can we use a custom breakpoints for conditionally showing up elements in a component with SSR?
Hello, When upgrading to version Nuxt 3 RC 9 the component fails
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nuxt/kit](https://nuxt.com/docs/api/kit) ([source](https://togithub.com/nuxt/nuxt/tree/HEAD/packages/kit)) | [`3.7.3` -> `3.10.3`](https://renovatebot.com/diffs/npm/@nuxt%2fkit/3.7.3/3.10.3) |...