mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-19 09:50:33 +03:00
19 lines
287 B
Vue
19 lines
287 B
Vue
<template>
|
|
<v-select
|
|
:locale="locale"
|
|
:options="['un', 'deux', 'trois', 'quatre']"
|
|
></v-select>
|
|
</template>
|
|
|
|
<script>
|
|
import { locale as french } from 'vue-select/locales/fr.js'
|
|
|
|
export default {
|
|
computed: {
|
|
locale() {
|
|
return () => french
|
|
},
|
|
},
|
|
}
|
|
</script>
|