Skip to content

Commit aec7f4c

Browse files
committed
page inheritance
1 parent f370d80 commit aec7f4c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<ParentLayout>
3+
<template #top>
4+
<div class="theme-default-content">
5+
<p>{{ $page }}</p>
6+
</div>
7+
</template>
8+
</ParentLayout>
9+
</template>
10+
11+
<script>
12+
import ParentLayout from '@parent-theme/components/Page.vue'
13+
export default {
14+
name: 'Page',
15+
components: {
16+
ParentLayout
17+
}
18+
}
19+
</script>

0 commit comments

Comments
 (0)