Setup
Learn how to setup Strapi in your Nuxt app
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@^0.3.1
npm install @nuxtjs/strapi@^0.3.1
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.