Change index.html

hi everyone,
i want to get params from index.html, and i using loaderinfo, but i can’t change file index.html to test this way. so how do i change this file to use?
thank you

Make a copy of the index.html template, and put it somewhere in your project. (I suggest putting it in a folder named templates.) Make whatever changes you like to this copy.

To make Lime use your copy rather than the default, add this to project.xml:

<template path="templates/index.html" rename="index.html" if="html5" />
2 Likes

I recently created an example project that demonstrates how to customize the index.html template in an OpenFL project: