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