Laravel does not evaluate the curly brackets when including .js file - development

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>

It does not evaluate the route command.

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

Comments

Popular posts from this blog

ng-show doesn’t work correct with value boolean

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-include of inline SVG does not display gradient except in Chrome