How to override project config in Monorepo?

Viewed 20

I'm using monorepo through Turborepo. folder structure is below.

├── apps
│   ├── project1 -> use React / NextJS
│   └── project2 -> use React / NextJS
│
└── packages
    ├── tsconfig
    └── core-lib -> use React / NextJS : Admin template. (like AppBar, Main Content Wrapper, Footer...)

project1 and project2 use core-lib's component.

And each proejct has themeConfig.json which has appName, layout mode,toastPosition...

For core-lib, I want to use themeConfig.json for each project.

In project1, core-lib's footer use project1's themeConfig.json and will be show project1's appName.

How can i implement this?

0 Answers
Related