mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
201e135964
- separate environment for developing docs - clear out discarded couscous files - start converting docs markdown
21 lines
549 B
Vue
21 lines
549 B
Vue
<template>
|
|
<code :class="cssClass"><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: {
|
|
cssClass () {
|
|
return `language-${this.lang}`
|
|
}
|
|
}
|
|
}
|
|
</script>
|