Cachebust error 10.18 with custom index.html

0
Started today with Mendix 10.18, but I got the error 'missing the cachebust template tag(s)' in my custom index.html.   I have a custom index.html but this file has {{cachebust}} behind the index.js reference. The only way now I can get rit of the error in Studio Pro is to delete the index.html from my theme. But I want to have a custom version..    
asked
2 answers
3

Hi Peter,

 

I had the same error, and I was missing the question mark after the 'js'.

The full script tag that works for me looks like this:

<script src="dist/index.js?{{cachebust}}" type="module"></script>

 

Hope this helps!

answered
0

There is no template for index.html, but login.html has

        <script src="js/login_i18n.js?{{cachebust}}"></script>

 

and this in the header

 

        {{themecss}} {{appicons}} {{manifest}} {{startupimages}}

 

answered