I work in project with laravel 6
There is a Javascript File that placing in public. This file including html tags. I find that this html tags in Javascript is too much, so I wanted to generate them in a view and then use in this file.
how can I inject this view file into that Javascript file?