Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Share components and assets between platform and www turborepo apps #345

Open
dahal opened this issue Apr 7, 2023 · 0 comments
Labels
🚀 feature New feature or request 🙏 help wanted Extra attention is needed

Comments

@dahal
Copy link
Member

dahal commented 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 combo

https://medium.com/@serhii-kucherenko/how-to-share-components-between-different-apps-with-turborepo-next-js-13-1b341112a4cc

Alternatives

No response

Additional information

No response

@dahal dahal added 🚀 feature New feature or request 🙏 help wanted Extra attention is needed labels Apr 7, 2023
@dahal 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 feature New feature or request 🙏 help wanted Extra attention is needed
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant