I am confused about when to override things from my module and when from my theme.
I am creating a module in which I am changing the checkout functionality. I am using
js-mixin, creating blocks and adding translations. I also need to override layout and template files, which is crucial and cannot exist independently without my mixins and blocks from the module.
The problem is that most (read "all") of the tutorials suggest overriding templates and layouts from a theme. For me, it doesn't make sense to add some things in the theme and some in the module if they cannot exist independently.
Is there anything wrong with overriding templates and layouts from a module (Im assuming there is a way to do it, I just haven't found it yet)?
Only just found this answer here, does add some clarity.