Laravel does not evaluate the curly brackets when including .js file
I have a js file with the following script
alert("");
I used the .js file and include it in my blade view
<script type="text/javascript" src=></script>
But if I write the script in the blade view. It does evaluate the codes inside the curly brackets.
from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-does-not-evaluate-the-curly-brackets-when-including-js-file/
via Lzo Media
No comments:
Post a Comment