Ionic on mobile, other templates for non-mobile—how to approach?


#1

Hi all, I’ve got a nice Ionic setup which looks great on mobile, and I’m trying to figure out the best approach for switching to non-Ionic templates for non-mobile screens. Here’s what I’ve got so far:

This relies on mystor:device-detection and {{#if isPhone}} to select different templates.

Does anyone have any thoughts or criticisms on this approach? I can’t help but feel like it’s not the most elegant solution, but it seems to work…