Vue.js plugin for Storyblok
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
vue1
.gitignore
.npmignore
LICENSE
README.md
package.json
storyblok-vue.js

README.md

Vue Storyblok plugin

Make any element editable with the Vue Storyblok directive. Just add v-editable="content" to a html element.

Compatibility

Requires Vue 2.0

Install

npm install storyblok-vue --save-dev

Usage

In your entry point:

import StoryblokVue from 'storyblok-vue'

Vue.use(StoryblokVue)

In the template:

<div v-editable="demo">
  Test
</div>

See the jsfiddle to learn how to load the data from Storyblok:
https://jsfiddle.net/delooks/6tnttqvy/

License

MIT