Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

209
Views
How can i Mount / Load a child NextJs app inside a parent NextJs app on button click

I am stuck in this problem. I have two Next Js applications.

  1. Parent App - served from parent.com domain.
  2. Child App - served from child.parent.com sub-domain.

The parent app has two pages:

  1. dashboard - /dashboard
  2. About - /about

Both of the pages share a common left sidebar via Layout Component.

const Layout = ({ children }) => {
    return (
        <>
            <Sidebar />
            <main className={styles.mainBody}>{children}</main>
        </>
    )
}

The sidebar component has following stucture:

const Sidebar = () => {
    return (
        <>
            <ul>
               ...page parent page links here
               <li><Link href="/child-app" > Load Child App </Link></li>
            </ul>
        </>
    )
}

Requirement: When the Load Child App link is cliked, the Parent app shall Load/Mount the Child app inside a placeholder which is on the right side of sidebar. Once the Child app is loaded/mounted, the user will interact with it normall.

Pls refer to the Layout image: layout image

Is it possible to acheive this with NextJs and if yes what is the approach i can take and what is the concept behind it ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!