NOTE: I realized (and others pointed out) the computed property is not necessary... see the pinned comment. Vue has all the usual programming constructs you might expect... for, if-else... but no switch statement. No problem, we can make it ourselves. It's on npm, try it out: https://github.com/lmiller1990/v-switch/
📗 $5 off my Design Patterns for Vue.js with YT_5_OFF: https://lachlan-miller.me/design-patt...
🐦 I'm on Twitter! / lachlan19900