forked from BRETT/BRETT
i18n implemented
This commit is contained in:
+2
-1
@@ -3,8 +3,9 @@ import 'vue-sonner/style.css'
|
||||
import { Toaster } from '@/components/ui/sonner'
|
||||
|
||||
const theme = useTheme()
|
||||
const { locale } = useI18n()
|
||||
useHead({
|
||||
htmlAttrs: { 'data-theme': theme },
|
||||
htmlAttrs: { 'data-theme': theme, lang: locale },
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user