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 [email protected]