# Installation
IMPORTANT: Accurate for versions < 0.2.0
.
Install module into your app.
npm install @vue-storefront/storyblok --save
or
yarn add @vue-storefront/storyblok
# Setup
Register the module in the nuxt.config.js
file.
modules: [
[
'@vue-storefront/storyblok/nuxt',
{
token: 'CONTENT_DELIVERY_TOKEN',
cacheProvider: 'memory',
},
],
]
You will also need to register Storyblok module as a rawSource in the @vue-storefront/nuxt
module. Like that.
['@vue-storefront/nuxt', {
...
useRawSource: {
dev: ['@vue-storefront/storyblok'],
prod: ['@vue-storefront/storyblok']
}
}],