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.
Add @nuxtjs/strapi
dependency to your project:
yarn add @nuxtjs/strapi
npm install @nuxtjs/strapi
Then, add @nuxtjs/strapi
to the modules
section of nuxt.config.js
:
export default {
modules: ['@nuxtjs/strapi'],
strapi: {
// Options
}
}
See module options.