© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Using i18n in composable - Nuxt
N
Nuxt
•
2y ago
Robin
Using i18n in composable
Hi
, I
'd like to create a global func that return current locale in uppercase and define it a type but seems like it only works in setup script
. Is there a way to do it
? I don
't wanna create it in every file if possible
.
Similar Threads
Using fetch in composable with shared results
N
Nuxt / ❓・help
2y ago
Using nuxtjs/i18n types in a module
N
Nuxt / ❓・help
2y ago
call composable in plugin
N
Nuxt / ❓・help
5mo ago