How to include script file in index.html file?

I want to include an external script file like howler.js in index.html file

For the build version of the game I put the modified index.html file in build-templates.

But how to do it in when I run the game directly from Cocos Creator with the play button?

How to modify this index file or how to include additional script files in to it?

Have you tried to use script as Plugin - https://docs.cocos.com/creator/manual/en/scripting/plugin-scripts.html ?

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.