Best way to build multiple scenes to different pages

Hello, what would you suggest is the best way to build 2 scenes to 2 separate pages in the same site? I see that there is a sample for dynamic loading in the same page but im looking to have them on separate pages. Thank you!!

Original Post on Discord

by user 684577019052163090

For two separate pages you can export the scene or prefab by referencing them in your main export scene in a component and then set the src attribute of the needle-engine web component to the glb

Then you can also remove the import of the gen.js in the index.html too