Quantcast
Channel: Using laravel blade localization inside react - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Ali Mohammad for Using laravel blade localization inside react

you can use normal js package for that like this package laravel-js-localization

View Article



Answer by Nima Ka for Using laravel blade localization inside react

This sign {{ ]} is just for PHP. "means echo", you can not do that. You'd better use Vue.js to do it.There's two way to use translation:first: put all translation in div attributessecond: use JSON...

View Article

Image may be NSFW.
Clik here to view.

Using laravel blade localization inside react

I'm using Laravel localization. - https://laravel.com/docs/5.6/localizationI also use react component in the blade view.Now i wish to use localization in my react component like this return(<button...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images