You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a mustache template that contains html and I try to inline a js file into it.
Aside from the file extension and a few mustache tags its just normal HTML. The file that I want to inline is at the end of the body.
This is the script tag that I want to inline:
<script src="/tmp/map.js__inline=true"></script>
I also tried it without the =true and with the path relative to the file but nothing works, the line is unchanged and the console just prints
Long time no comments :) The problem is that you added __inline=true to the file extension, however it must be added as a query parameter to the URL: <script src="/tmp/map.js?__inline=true"></script>, note the ?
I have a mustache template that contains html and I try to inline a js file into it.
Aside from the file extension and a few mustache tags its just normal HTML. The file that I want to inline is at the end of the body.
This is the script tag that I want to inline:
I also tried it without the
=true
and with the path relative to the file but nothing works, the line is unchanged and the console just printsDoes anyone know what the problem is?
The text was updated successfully, but these errors were encountered: