dcangulo / nextjs-subdomain-example

https://stackoverflow.com/a/63544520/9375533

Home Page:https://stackoverflow.com/a/63544520/9375533

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js Subdomain Example

It uses the following as references:

If we are going to run this using next dev we will have the following routes:

But by running node server.js we will have the following routes:

Development Setup

  • git clone https://github.com/dcangulo/nextjs-subdomain-example.git
  • cd nextjs-subdomain-example
  • yarn
  • yarn dev

About

https://stackoverflow.com/a/63544520/9375533

https://stackoverflow.com/a/63544520/9375533


Languages

Language:JavaScript 100.0%