⚡
@marvr/storyblok-rich-text-vue-renderer Vue.js plugin for rendering the rich-text content.
⚠️
Important This plugin needs the Composition API to work.
Please install it before you use the plugin.
🚀
Getting started 1. Install @vue/composition-api
yarn add @vue/composition-api
# or
npm install @vue/composition-api
2. Install @marvr/storyblok-rich-text-vue-renderer
yarn add @marvr/storyblok-rich-text-vue-renderer
# or
npm install @marvr/storyblok-rich-text-vue-renderer
This also installs @marvr/storyblok-rich-text-types so you don't need it to install it separately.
🕹️
Usage - Install the Composition API and the plugin like described above
☝️ . - Register
@vue/composition-api
BEFORE the plugin withVue.use()
. - Register the plugin with
Vue.use()
after that. - Use the
<rich-text-renderer />
component to render your Storyblok document. -
Don't know how or want to see examples? See full documentation below
👇 .
📔
Documentation The full documentation can be found here.