mirror of https://github.com/nuxt/nuxt.git
refactor: remove nuxt-child (#131)
This commit is contained in:
parent
776e12f362
commit
dc2d17baca
|
@ -1,13 +0,0 @@
|
||||||
<template>
|
|
||||||
<RouterView v-slot="{ Component }">
|
|
||||||
<transition name="page" mode="out-in">
|
|
||||||
<component :is="Component" :key="$route.path" />
|
|
||||||
</transition>
|
|
||||||
</RouterView>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'NuxtChild'
|
|
||||||
}
|
|
||||||
</script>
|
|
Loading…
Reference in New Issue