How do I properly upload/deploy a completed threejs project that was built with threejs webpack to web hosting? It works on localhost with “npm run dev”.
Thanks.
How do I properly upload/deploy a completed threejs project that was built with threejs webpack to web hosting? It works on localhost with “npm run dev”.
Thanks.
npm run build
copy the contents of your /dist (or /build ?) folder and you’re done.
It worked! Thank you.