| 6 | Name 7 | | 8 |9 | Type 10 | | 11 |12 | Value 13 | | 14 |
| 17 | `{{ index }}` 18 | | 19 |20 | {{ typeof prop }} 21 | | 22 |23 | {{ getProp(prop) }} 24 | | 25 |
5 |
<template>
36 | <div v-editable="blok">
37 | <!-- content here ... -->
38 | </div>
39 | </template>
40 | <script>
41 | export default {
42 | props: {
43 | blok: {
44 | type: Object,
45 | default: () => ({})
46 | }
47 | }
48 | }
49 | </script>
50 |
51 | <template>
35 | <div>
36 | <div v-editable="blok">
37 | <!-- content here ... -->
38 | </div>
39 | <!-- render dynamic bloks from `{{ componentName }}` content type -->
40 | <slot name="bloks" />
41 | </div>
42 |
43 | </template>
44 | <script>
45 | export default {
46 | props: {
47 | blok: {
48 | type: Object,
49 | default: () => ({})
50 | }
51 | }
52 | }
53 | </script>
54 |
55 |
20 | {{ item.name }}
21 |
22 |