Skip to content

Default features

So-called "default features" are enabled by default in Nuxt Ignis. Once you include nuxt-ignis module in your project, all of them are available for you to use. However, to keep things as configurable as possible, you can disable most of them via environment variables.

Integrated features

Following packages are currently deeply integrated into Nuxt Ignis and cannot be disabled:

Default modules

Pre-defined set of Nuxt modules is being automatically included by default. You can opt-out from using them by setting respective config value to false.

  • use NUXT_PUBLIC_IGNIS_DEFAULT_ESLINT=false to disable @nuxt/eslint
  • use NUXT_PUBLIC_IGNIS_DEFAULT_FONTS=false to disable @nuxt/fonts
  • use NUXT_PUBLIC_IGNIS_DEFAULT_IMAGE=false to disable @nuxt/image
  • use NUXT_PUBLIC_IGNIS_DEFAULT_SCRIPTS=false to disable @nuxt/scripts
  • use NUXT_PUBLIC_IGNIS_DEFAULT_SECURITY=false to disable nuxt-security
  • use NUXT_PUBLIC_IGNIS_DEFAULT_AUTH=false to disable nuxt-auth-utils
  • use NUXT_PUBLIC_IGNIS_DEFAULT_VUEUSE=false to disable @vueuse/nuxt
  • use NUXT_PUBLIC_IGNIS_DEFAULT_PINIA=false to disable @pinia/nuxt

The above can also be expressed via the ignis key in nuxt.config.ts like this:

nuxt.config.ts
ts
export default defineNuxtConfig({
  extends: ['nuxt-ignis'],
  ignis: {
    default: {
      eslint: false,
      fonts: false,
      image: false,
      scripts: false,
      security: false,
      auth: false,
      vueuse: false,
      pinia: false,
    },
  },
})

More info