Linking app.js with index.html


I have a program that runs with CesiumJs in the index.html file. However, when create a independent app.js and move the cesium content, the web app doesnt render anything. How can i use my app.js which is in the static folder and use it on my index.html? I also use a variation of static images inside my app.js.

Hi there,

Are you using a server to run your app? Or loading it directly off disk?