Hi,
I wonder if there is a way to get the compressed and minified javascript inserted at the bottom of the page (read: just before the </body> tag) instead of the header. Is ther eany configuration one could apply for that?
Thanks :)
Lukas
Hi,
I wonder if there is a way to get the compressed and minified javascript inserted at the bottom of the page (read: just before the </body> tag) instead of the header. Is ther eany configuration one could apply for that?
Thanks :)
Lukas
You can move the {{ asssets.js() }} call to the bottom of the theme if you wish. This is where the JS files get output. However, as long as your initializations are performed onload there is no great reason to do so.
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1323 | 9 years ago | ||
| 2 | 919 | 9 years ago | ||
| 2 | 4048 | 9 years ago | ||
| 1 | 2923 | 9 years ago | ||
| 3 | 1106 | 9 years ago |