Nuxt/test/fixtures/trailing-slash/pages/posts/_slug.vue

17 lines
212 B
Vue

<template>
<div>
[pages/posts/_slug]
</div>
</template>
<script>
export default {
data: () => ({
result: null
}),
fetch () {
this.result = process.server ? 'fetched' : null
}
}
</script>