Rather than hide and show an HTML element, could you trigger an event on the Vue component, or an event-bus when network status changes? This would make your component template and style agnostic, which is good!
Rather than hide and show an HTML element, could you trigger an event on the Vue component, or an event-bus when network status changes?
This would make your component template and style agnostic, which is good!