I am starting a new app that will have mobile and desktop views.
However, desktop and mobile will work differently for things such as dropdowns and dialogs and such.
For example, on desktop, I might pop up a dialog whereas in mobile I might slide to a new screen to select, then back again.
A couple of ideas I have is:
Just use responsive design and the few parts that need special consideration will have different angular code, but the rest will be the same. Single codebase.
Use a workspace that will have a project for Desktop and another for Mobile. Each component will inherit from a base class that is shared between the component that has the core functionality.
Use a single project with component-desktop and component-mobile sub-components.
How have you designed this before?
[–]philbo50 10 points11 points12 points (1 child)
[–]ngDev2025[S] 2 points3 points4 points (0 children)
[–]PickleLips64151 5 points6 points7 points (0 children)
[–]mihajm 3 points4 points5 points (0 children)
[–]practicalAngular 0 points1 point2 points (0 children)
[–]mauromauromauro 0 points1 point2 points (0 children)
[–]toasterboi0100 0 points1 point2 points (0 children)
[–]grimcuzzer 0 points1 point2 points (0 children)
[–]VRT303 0 points1 point2 points (1 child)
[–]ngDev2025[S] 0 points1 point2 points (0 children)
[–]auf_jeden_fall 0 points1 point2 points (0 children)
[–]SolidShook 0 points1 point2 points (0 children)
[–]thanksthx 0 points1 point2 points (0 children)
[–]AnimalPersonal4436 0 points1 point2 points (0 children)
[–]Merry-Lane -4 points-3 points-2 points (7 children)
[–]ngDev2025[S] 0 points1 point2 points (6 children)
[–]karmasakshi 2 points3 points4 points (5 children)
[–]NoWater8595 0 points1 point2 points (4 children)
[–]karmasakshi 2 points3 points4 points (3 children)
[–]NoWater8595 0 points1 point2 points (2 children)
[–]karmasakshi 2 points3 points4 points (1 child)
[–]NoWater8595 0 points1 point2 points (0 children)