A Vue.js switch/case directive
npm install v-switch-casev-switch-caseA simple v-switch, v-case and v-default directive set for Vue.
Live Demo: https://lmiller1990.github.io/v-switch-case/
``html`
Large
Medium
Default
npm:
`bash`
npm install v-switch-case
yarn:
`bash`
yarn add v-switch-case
Or using a script tag:
`html`
Node.js env (using webpack for example):
`html
Large
Medium
Small
`
From a CDN:
`html
``
On NPM: https://www.npmjs.com/package/v-switch-case