@marvr/storyblok-rich-text-vue-renderer
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@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 🕹️

  1. Install the Composition API and the plugin like described above ☝️.
  2. Register @vue/composition-api BEFORE the plugin with Vue.use().
  3. Register the plugin with Vue.use() after that.
  4. Use the <rich-text-renderer /> component to render your Storyblok document.
  5. Don't know how or want to see examples? See full documentation below 👇.

Documentation 📔

The full documentation can be found here.

Package Sidebar

Install

npm i @marvr/storyblok-rich-text-vue-renderer

Weekly Downloads

1,449

Version

2.0.1

License

MIT

Unpacked Size

199 kB

Total Files

186

Last publish

Collaborators

  • marvr