Join the Webstudio community

Updated 2 weeks ago

How to embed several code files?

I am trying to embed a 3d scene (basically this one https://cables.gl/edit/jRYRpR but with different texture) made with Cables.gl into hero section. The export to HTML from Cables renders 1 html file and 2 js files. Js files are like 10K+ lines each. What are my options?
1
M
c
J
5 comments
you should put the js file on a cdn maybe then you can import them, you can add your HTML as code embed.
πŸ€” that's a probably the solution, thank you
@Ronald from 360Creators , is this similar to projects you've done with the 3d? How did you handle this?

@choomaque , I think there's some youtube videos from Ronald (360 creators) about something similar. You might want to checkout his channel.
Basically embedding the 360 scene in HTML frame
Add a reply
Sign up and join the conversation on Discord