2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Files
vue-select/docs/components/Code.vue
T

20 lines
542 B
Vue

<template>
<code :class="class"><slot></slot></code>
</template>
<script type="text/babel">
/**
* Note that this file (and anything other than src/components/Select.vue)
* has nothing to do with how you use vue-select. These files are used
* for the demo site at http://sagalbot.github.io/vue-select/. They'll
* be moved out of this repo in the very near future to avoid confusion.
*/
export default {
props: ['lang'],
computed: {
class () {
return `language-${this.lang}`
}
}
}
</script>