Late last year I had a working project with the file structure I show below. I want to resume 3JS efforts in the latest style, that is, using Node.js, Vite and a modified file layout.
Here is the older setup with folders and files:
To modernize I’ve followed the Installation and Creating a scene at three.js docs (including use of Node.js and Vite) to get this far:
…other imported code
I assume that a top-level main.css could be added
How to deal with contents of now non-existent examples/jsm?
Where to put my custom JS and CSS?