Module for Nuxt.js to handle multiple domains
This module is considered experimental and a work-in-progress.
- Add
nuxt-domains
dependency to your project
yarn add nuxt-domains # or npm install nuxt-domains
- Add
nuxt-domains
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'nuxt-domains',
// With options
['nuxt-domains', { /* module options */ }]
]
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
- https://github.com/nuxt-community/router-module
- https://github.com/nuxt-community/router-extras-module
Copyright (c) Gaël Reyrol gael@dansmaculotte.fr