Nuxt/test/fixtures/custom-dirs/custom-pages/user-agent.vue

13 lines
178 B
Vue
Raw Normal View History

2018-02-03 23:24:45 +00:00
<template>
<pre>{{ userAgent }}</pre>
</template>
<script>
export default {
middleware: 'user-agent',
asyncData ({ userAgent }) {
2018-02-03 23:24:45 +00:00
return { userAgent }
}
}
</script>