Integrating ThreeJs Editor Github Code inside Django Project

Hi!

I have a django project I am currently using to serve my users. I want to integrate threeJs editor functionality inside of the project based on the github code base examples of the editor. I was able to run threeJS editor as a separate project with npm build and test whether my requirements are fulfilled and they are.

I just want to add that entire repo to my Django project and hope it works there. Can anyone help me out with this? How to go about doing this? Will all the dispatch signals etc, work inside the Django project?

You’re about to find out! :smiley:

From google: Integrate three js project with django project - Templates & Frontend - Django Forum

Thanks. So my understanding it should be easily possible.

1 Like

Fingers crossed :smiley:

Hi! Update on this. It is possible. You can integrate the threeJS editor directly in a django project by dumping the entire threeJS code in static folder, and then using the main editor code as a template, by changing the file locations to refer to the files inside the static folder.