UNPKG
@vue-storefront/storyblok
Version:
latest (0.4.0)
rc (0.4.0-rc.0)
0.4.0
0.4.0-rc.0
0.3.0
0.2.3
0.2.2
0.2.0
0.1.2
0.1.1
0.1.0
Storyblok CMS integration with Vue Storefront
github.com/vuestorefront/storyblok
@vue-storefront/storyblok
/
nuxt
/
plugin.js
10 lines
(7 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
Vue
from
'vue'
import
{
StoryblokVue
}
from
'@storyblok/vue-2'
import
{ integrationPlugin }
from
'@vue-storefront/core'
Vue
.
use
(
StoryblokVue
)
export
default
integrationPlugin
(
(
{ integration }
) =>
{ integration.
configure
(
'sb'
, { ...<%=
serialize
(options) %> }) })