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 for specific apps only #305

Open
FoHoOV opened this issue May 16, 2022 · 0 comments
Open

Feature for specific apps only #305

FoHoOV opened this issue May 16, 2022 · 0 comments

Comments

@FoHoOV
Copy link

FoHoOV commented May 16, 2022

Imagine we have a button that is shared across apps and web/mobile platforms , so we are gonna have a base in 'xplat/libs/features/base/button' and two other files in 'xplat/web/features/button' and 'xplat/ns/features/button' which is fine and can be used in for example a banking app, a streaming app or messaging app etc. But what if we are gonna have a landing page for example 'home-page' which is only specific to our Message-App and Streaming-App? They are gonna have some base that is shared between platforms, sure, but they are only specific for these two apps and shouldn't be available to our banking app. So my guess would be that we have something like 'xplat/lib/Message-Streaming-app/features/...' and extend that in the 'apps/' and 'apps/'. Or what if this is shared between two apps using NativeScript angular and two apps using web angular and these four only. What is the recommended way you have to achieve what I'm going to do? Thanks for your time.

ps: I also would love to see some UPDATED examples of using Xplat to build shared code ns/web using angular. If you could post some links that would be very awesome and help me a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant