[Vuejs]-How to add and run Three Js old code to Vue page component

0👍

If I understand your question correctly, one way you could probably do this is to have the JavaScript extracted out into a helper file like /lib/3JS.js and then make sure to export it.

Then you could import it into your Vue file and use it there.

Leave a comment