4 ms·
The vue code for this is pretty terse anyway to be honest. A single variable in data, a call to setInterval in the created hook and a few lines of html with tem
by strangeattractr 5y ago
The vue code for this is pretty terse anyway to be honest. A single variable in data, a call to setInterval in the created hook and a few lines of html with template formatting. It's extremely clear what's going on too.
- unfocussed_mike 5y agoI agree. I think the single-page .vue model is also really amenable to whitespace and consistent formatting.