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:
- Nuxt itself - because obviously it is required to run everything under the hood
- merging configurations via
defu- used for merging defaults with user-defined config in various modules - date operations via
date-fns-formatfunction is used to get timestamps - logging via
consola(opened task to make it optional) - test suite via
nuxt-spec(opened task to make it optional)
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=falseto disable@nuxt/eslint - use
NUXT_PUBLIC_IGNIS_DEFAULT_FONTS=falseto disable@nuxt/fonts - use
NUXT_PUBLIC_IGNIS_DEFAULT_IMAGE=falseto disable@nuxt/image - use
NUXT_PUBLIC_IGNIS_DEFAULT_SCRIPTS=falseto disable@nuxt/scripts - use
NUXT_PUBLIC_IGNIS_DEFAULT_SECURITY=falseto disablenuxt-security - use
NUXT_PUBLIC_IGNIS_DEFAULT_AUTH=falseto disablenuxt-auth-utils - use
NUXT_PUBLIC_IGNIS_DEFAULT_VUEUSE=falseto disable@vueuse/nuxt - use
NUXT_PUBLIC_IGNIS_DEFAULT_PINIA=falseto disable@pinia/nuxt
The above can also be expressed via the ignis key in nuxt.config.ts like this:
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
- See details about technologies available via Nuxt Ignis in features section.