(Solved) Error: Cannot determine default view strategy for object

This is because during production build, your dialog view model, which is concatenated with other modules since you only referenced them directly, making it have no origin, and thus, no associated views.

You can fix this via inline view, or adding a PLATFORM.moduleName call to the consumer of the dialogs:

PLATFORM.moduleName('the dialog view model')
4 Likes