Ask coding questions

← Back to all posts
How can I add TS to an HTML, CSS, JS Project -- babylon JS
EbonAsura (1)

I'm interested in using TypeScript with babylon JS and HTML5. I've tried following the suggestions in add packages such as adding a script entry for TypeScript for in my index.html, but I don't see any result from the console after adding a .ts file with some sample code . I realize React works with TypeScript and HTML5, but for babylon JS the imports fail. I would prefer to start with index.html. It doesn't make sense to me to start with APP. Does anyone know a simple way?