SL
Size: a a a
SL
SL
D
[ "isStatic", "isDev", "isHMR", "app", "payload", "error", "base", "env", "ssrContext", "redirect", "beforeNuxtRender", "route", "next", "_redirected", "_errored", "params", "query", "$config" ]
SL
D
SL
SL
N
SL
SL
SL
SL
async fetch() {
if (this.$nuxt.context.req) {
const { default: uaparser } = await import('ua-parser-js');
const { device } = uaparser(this.$nuxt.context.req.headers['user-agent']);
this.fallback = device.type === 'mobile' ? 'mobile' : null;
}
},
SL
D
N
SL
D
SL
SL
SL