mirror of
https://github.com/nuxt/ui.git
synced 2026-09-14 19:51:10 +08:00
f6ae153428
Co-authored-by: Hugo Richard <hugo.richard@epitech.eu>
10 lines
212 B
Vue
10 lines
212 B
Vue
<script setup lang="ts">
|
|
import * as locales from '@nuxt/ui/locale'
|
|
|
|
const locale = ref('en')
|
|
</script>
|
|
|
|
<template>
|
|
<ULocaleSelect v-model="locale" :locales="Object.values(locales)" class="w-48" />
|
|
</template>
|