Api Uppercase or not :?
Hey not realy dicrect with Nuxt, but should api body data like status have capital letter:
or
feel like the secound option is the way but then how do we uppcease the first letter xD in the front end
1 Reply
π
I am team
{ status: 'NEW' }
btw, which comes from enum Status { NEW = 'NEW' }
and is then localized with $t(`enum.status.${value}`)
to "Neu" in german π