Storyblok module for vue-storefront.
git clone git@github.com:jankawulok/vsf-storyblok.git ./vue-storefront/src/modules/storyblok
Add to your config/local.json
and configure the accessToken
and version
.
"storyblok": {
"accessToken": "my_access_token",
"version": "draft or published"
}
Add to ./src/modules/index.ts
...
import { Storyblok } from './storyblok';
export const registerModules: VueStorefrontModule[] = [
...
Storyblok
]
Add mixin to page you want to use with storyblok
import StoryblokMixin from 'src/modules/storyblok/components/StoryblokMixin'
export default {
mixins: [..., StoryblokMixin],
Story is fetch based on url path and available via story
prop.
- SSR support
- Ingetration with Visual Composer
- Offline supprt