Skip to content

Utility features

Nuxt Ignis offers following utility options:

VueUse

VueUse is a collection of essential Vue Composition Utilities that provides a set of reusable functions and utilities for Vue.js applications. It includes features like reactive state management, event handling, and more.

VueUse integration is a core feature and it is enabled by default. To disable it, you can use following environment variable:

dotenv
NUXT_PUBLIC_IGNIS_CORE_VUEUSE=false

VueEquipment

VueEquipment is a collection of Vue composables and plugins that provides a set of reusable functions and utilities for Vue.js applications.

VueEquipment integration is an optional feature and it is disabled by default. To enable it, you can use following environment variable:

dotenv
NUXT_PUBLIC_IGNIS_EQUIPMENT_ENABLED=true

Additional options

Simply enabling VueEquipment actually does nothing as you also need to specifify which composables and/or plugins you want to use.

There are two config values for this purpose:

  • NUXT_PUBLIC_IGNIS_EQUIPMENT_COMPOSABLES - which Vue Equipment composables should be imported (coma-separated list)
  • NUXT_PUBLIC_IGNIS_EQUIPMENT_PLUGINS - which Vue Equipment plugins should be imported (coma-separated list)

The values must be a coma-separated list of available composables and plugins(see the docs).

For example:

.env
NUXT_PUBLIC_IGNIS_EQUIPMENT_COMPOSABLES=useCountdown
NUXT_PUBLIC_IGNIS_EQUIPMENT_PLUGINS=MagicNoise, MagicMarquee

Whitespaces around will be trimmed, so it doesn't matter if you add or omit them.

Nuxt SEO

Nuxt SEO is a collection of Nuxt modules that handles all of the technical aspects in growing your sites organic traffic.

Nuxt SEO integration is an optional module and it is disabled by default. To enable it, you can use following environment variable:

dotenv
NUXT_PUBLIC_IGNIS_SEO=true

Usage notice

If you use @nuxtjs/seo module and also have set NUXT_PUBLIC_IGNIS_SSR=false, modules from Nuxt SEO pack requiring SSR (ogImage and schemaOrg) will be disabled by default. You may still override this in your project's nuxt.config.ts, but it will produce their built-in warning on startup.

NOTE: If you don't use Nuxt Ignis configuration and set ssr: false directly in your project's nuxt.config.ts, modules mentioned above won't be disabled and you will get the warning, unless you turn them off manually.

Nuxt Auth Utils

Nuxt Auth Utils is a set of utilities for handling authentication in Nuxt applications.

Nuxt Auth Utils integration is an optional module and it is disabled by default. To enable it, you can use following environment variable:

dotenv
NUXT_PUBLIC_IGNIS_AUTH=true

Magic Regexp

Magic Regexp is a utility library for working with regular expressions in more natural way.

Magic Regexp integration is an optional module and it is disabled by default. To enable it, you can use following environment variable:

dotenv
NUXT_PUBLIC_IGNIS_REGEXP=true