Search
Setup for Free
N
Nuxt
•
16mo 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
.
Nuxt
Join
Nuxt Community Chat Server
31,874
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No replies yet
Be the first to reply to this message
Join
Similar Threads
Using fetch in composable with shared results
N
Nuxt / ❓・help
17mo ago
Using nuxtjs/i18n types in a module
N
Nuxt / ❓・help
2y ago
call composable in plugin
N
Nuxt / ❓・help
2mo ago