# Installation

IMPORTANT: Accurate for versions < 0.2.0.

Install module into your app.

npm install @vsf-enterprise/amplience --save

or

yarn add @vsf-enterprise/amplience

# Setup


Register the module in the nuxt.config.js file.

modules: [
  [
    '@vsf-enterprise/amplience/nuxt',
    {
      url: 'https://yourname.cdn.content.amplience.net',
    },
  ],
]

You will also need to register Amplience module as a rawSource in the @vue-storefront/nuxt module. Like that.

['@vue-storefront/nuxt', {
  ...
  useRawSource: {
    dev: ['@vsf-enterprise/amplience'],
    prod: ['@vsf-enterprise/amplience']
  }
}],