You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And yet, I do not get any type-ahead typings anywhere. I tried in the store, on the nuxt Context object and a component's 'this'. No $device object found anywhere. If I run the app and inspect it with the Chrome dev tools, I can see it is there. And, if I do the following, it works!
// Inside a component (using property decorator syntax)
get isOnDesktop() {
return (this as any).$device.isDesktop
}
I've even restarted windows just to make sure it wasn't something weird like that.
Where am I going wrong?
The text was updated successfully, but these errors were encountered:
Hi,
I followed the install instructions. So, I have:
And yet, I do not get any type-ahead typings anywhere. I tried in the store, on the nuxt Context object and a component's 'this'. No $device object found anywhere. If I run the app and inspect it with the Chrome dev tools, I can see it is there. And, if I do the following, it works!
I've even restarted windows just to make sure it wasn't something weird like that.
Where am I going wrong?
The text was updated successfully, but these errors were encountered: