Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 823 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 823 Bytes

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