Richtext
Renders storyblok richtext field with storyblok-rich-text-vue-renderer
Install
Just enabled richtext support in config.
nuxt.config.js
nujekUi: {
enableRichTextRenderer: true
}
Examples
<SbRichtext :text="content" />
<SbRichtext
v-show="showAnswer"
:text="getPrice(answer)"
class="-mt-2 w-full xl:w-5/6 ptext font-pangram-light"
/>
Props
Prop | Default | Type |
`content` |
`null` |
`Object`
|