Nuxt/test/fixtures/basic/pages/users/_id.vue
2017-03-01 16:03:46 +01:00

12 lines
148 B
Vue

<template>
<h1>User: {{ id }}</h1>
</template>
<script>
export default {
asyncData ({ params }) {
return { id: params.id }
}
}
</script>