Integrating separate Rendering pipeline

I am using the vertical plane template (which has A-Frame) and I also want to integrate some vanilla three.js code from another project into this one. But whatever I try, it just does not seem to work. I would love it if someone could support me in the matter. Thanks in advance

Can you provide some more details on what you are trying to achieve and any relevant code snippets?