Setup

Check the Nuxt.js documentation for more information about installing and using modules in Nuxt.js.

Installation

Add @nuxtjs/strapi dependency to your project:

yarn add @nuxtjs/strapi
npm install @nuxtjs/strapi

Configure

Then, add @nuxtjs/strapi to the modules section of nuxt.config.js:

nuxt.config.js
export default {
  modules: ['@nuxtjs/strapi'],
  strapi: {
    // Options
  }
}

See module options.