I'm currently using the node npm to manage dependencies like jquery on the front end. Using the following method.
app.use('/jquery', express.static(__dirname + '/node_modules/jquery/dist/'));
app.use('/three', express.static(__dirname + '/node_modules/three/dist/'));
In the three.js project, the built files are located in the
build directory, not the
On the server, this should work:
app.use('/three', express.static(__dirname + '/node_modules/three/build/'));