mardi 20 octobre 2015

Blade syntax in separate js file

I've my resources/lang/en/validation.php file. Meanwhile, I can do trans() from javascript block inside *.blade.php view file.

Well, what I'm supposed to do is to place my javascript separately. Then there'll be a new question : What about the blade syntax in it? How can I 'pass' the blade syntax?

Or are there any better solutions/ approaching? Many thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire