.Hi I want to add a file where I can run my code .I do import the three.js library in other script and that script is given link in index.html. But when I run code its not running
![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/6/6/66cd7daacdef28b8da1794748460a2093165a1d2.png)
This screen happen
??
.Hi I want to add a file where I can run my code .I do import the three.js library in other script and that script is given link in index.html. But when I run code its not running
This screen happen
Since you put your code in the constructor of a class, you also have to create an instance of it. It seems you are not doing that so nothing is executed. Try it with the following below your class definition:
const app = new A();