Nuxt/test/fixtures/ssr/pages/context.vue

11 lines
211 B
Vue

<template>
<div>
<section data-test="parent">
<pre>vm: {{ $route.fullPath }}</pre>
<pre>context: {{ $nuxt.context.route.fullPath }}</pre>
</section>
<NuxtChild />
</div>
</template>