This repository was archived by the owner on Aug 18, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Import directly into your component or view:
2828
2929``` vue
3030<template>
31- <SanityBlocks :blocks="blocks" :serializers="serializers" />
31+ <SanityBlocks :blocks="blocks" :serializers="serializers" :use-fallback-serializer="true" />
3232</template>
3333
3434<script>
@@ -66,10 +66,11 @@ app.mount('#app');
6666
6767The following props can be passed to the component.
6868
69- | Prop | Required | Description | Type |
70- | ------------- | -------- | -------------------------------------------------- | ------ |
71- | ` blocks ` | Yes | Block content retrieved from Sanity. | Array |
72- | ` serializers ` | No | Any custom serializers you want to use. See below. | Object |
69+ | Prop | Required | Description | Type |
70+ | ----------------------- | -------- | ----------------------------------------------------- | ------- |
71+ | ` blocks ` | Yes | Block content retrieved from Sanity. | Array |
72+ | ` serializers ` | No | Any custom serializers you want to use. See below. | Object |
73+ | ` useFallbackSerializer ` | No | Show fallback component if custom type doe not exist. | Boolean |
7374
7475## Serializers
7576
You can’t perform that action at this time.
0 commit comments