Some of my pages / components are used in multiple Next.js project. I would keep them in a separate git submodule. How can I "import" them?
Ie if those routes are so called "admin" routes, components, shall I import under a dedicated route ie /[lang]/admin
and then I can avoid mingle with other only "locally" existing pages?
Or do you know other best practice?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.