Nuxt/test/fixtures/with-config/pages/user-agent.vue

13 lines
177 B
Vue
Raw Normal View History

2017-02-09 23:45:49 +00:00
<template>
<pre>{{ userAgent }}</pre>
</template>
<script>
export default {
middleware: 'user-agent',
2017-10-31 13:26:19 +00:00
asyncData({ userAgent }) {
2017-02-09 23:45:49 +00:00
return { userAgent }
}
}
</script>