We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9665e14 + f4c5f15 commit d86f831Copy full SHA for d86f831
id/api/components-nuxt.md
@@ -0,0 +1,28 @@
1
+---
2
+title: 'API: '
3
+description: Menampilkan komponen halaman di dalam layout
4
5
+
6
+# Komponen <nuxt>
7
8
+> Komponen ini hanya digunakan di dalam [layout](/guide/views#layouts) untuk menampilkan komponen halaman.
9
10
+**Props**:
11
12
+- nuxtChildKey: `string`
13
+ - Prop ini diset ke `<router-view/>`, berguna untuk membuat transisi di dalam halaman yang dinamis dan route yang berbeda.
14
+ - Default: `$route.fullPath`
15
16
+Contoh (`layouts/default.vue`):
17
18
+```html
19
+<template>
20
+ <div>
21
+ <div>My nav bar</div>
22
+ <nuxt/>
23
+ <div>My footer</div>
24
+ </div>
25
+</template>
26
+```
27
28
+Untuk melihat contoh, silakan lihat [contoh nested-routes](/examples/layouts).
0 commit comments