Add the module to your Nuxt config.
export default defineNuxtConfig({
modules: ['@nobears-front-end/nuxt-multi-tenancy'],
});
Also add the tenants configuration file to your project.
export default defineNuxtMultiTenancyConfig([
{
hosts: ["localhost:3000"],
config: {
url: "localhost:3000",
name: "Localhost",
tenant: {
id: "localhost",
site: {
"nl-NL": "localhost-nl-NL",
},
},
},
},
]);