You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are creating a standalone platform without all un-necessary static pages for the platform itself. This is to support those who wants to self-host envless. All they need is our core platform features. This means that all static pages (home, blog, changelog etc) now lives on its own app (www). Some of the components and assets are duplicated on both apps. Lets keep it DRY.
Possible solution
Take these shared components and assets to packages/ui directory and import them from there. Here a really nice tutorial on how its done on Next/Turborepo combo
dahal
changed the title
[FEATURE]: Create a shared components and assets for platform and www apps
[FEATURE]: Share components and assets between platform and www turborepo apps
Apr 7, 2023
Description
We are creating a standalone platform without all un-necessary static pages for the platform itself. This is to support those who wants to self-host envless. All they need is our core platform features. This means that all static pages (home, blog, changelog etc) now lives on its own app (www). Some of the components and assets are duplicated on both apps. Lets keep it DRY.
Possible solution
Take these shared components and assets to
packages/ui
directory and import them from there. Here a really nice tutorial on how its done on Next/Turborepo combohttps://medium.com/@serhii-kucherenko/how-to-share-components-between-different-apps-with-turborepo-next-js-13-1b341112a4cc
Alternatives
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: