How can i write the line : axios.defaults.headers['Accept-Language'] = lang ; using vue 3 please ? i wrote the same thing in the video and i have this error : Element implicitly has an 'any' type because expression of type '"Accept-Language"' can't be used to index type 'HeadersDefaults'. Property 'Accept-Language' does not exist on type 'HeadersDefaults'.
Really Thank yo so much ! I had a problem and spent more than 3 hours about that. After your video, I solved it in 10 min. Really thank you so much !
Thank you been searching everywhere!!
Thank you!
This helped me a lot!
Perfect explanation. Thanks a lot
Thank you so much for this video ! It helped me a lot !
Great explanation!
Great tutorial, thank u
thanks
Please make a video for Multilingual NuxtJs
I will probably do it in the future
Great!, it works fine, ty
"'use' not found in imported namespace 'Vue'" ??
supported in Vue 3 ?
How can i write the line : axios.defaults.headers['Accept-Language'] = lang ; using vue 3 please ?
i wrote the same thing in the video and i have this error :
Element implicitly has an 'any' type because expression of type '"Accept-Language"' can't be used to index type 'HeadersDefaults'.
Property 'Accept-Language' does not exist on type 'HeadersDefaults'.
Maybe it is axios.defaults.headers.common['Accept-Language'] = lang
@@ScalableScripts Yes it is ! Thank you so much !
How to translate only one paragraph not the whole page?
Thanks
What if I use dropdown instead of select option? thank you!
Then call a funcion on dropdown option click event and pass a language value to this function you are calling.
Thank you!!
where is the source code?
thank you !!!!! :D
salom
Thank you!