Nuxt/test/fixtures/with-config/pages/user-agent.vue
2017-03-01 16:03:46 +01:00

13 lines
178 B
Vue

<template>
<pre>{{ userAgent }}</pre>
</template>
<script>
export default {
middleware: 'user-agent',
asyncData ({ userAgent }) {
return { userAgent }
}
}
</script>