Node
import * as THREE from 'three' import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js'
if nuxt
nuxt.config.jsbuild: { transpile: [ 'three' ], }
not allowed module import outside of module
cdn
should import as module

Seonglae Cho
