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

13 lines
177 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 }) {
return { userAgent }
}
}
</script>