Configuration

Configuration options for the Nuxt Multi Tenancy module.
For all available options, please refer to the configuration page.

Quick Start

Add the module to your Nuxt config.

nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nobears-front-end/nuxt-multi-tenancy'],
});

Also add the tenants configuration file to your project.

tenants.config.ts
export default defineNuxtMultiTenancyConfig([
  {
    hosts: ["localhost:3000"],
    config: {
      url: "localhost:3000",
      name: "Localhost",
      tenant: {
        id: "localhost",
        site: {
          "nl-NL": "localhost-nl-NL",
        },
      },
    },
  },
]);