Three.js Import


### Node
```typeimport * as THREE from 'three'import { TrackballControls } from 'three/examples/jsm/controls/TrackballControls.js'```
if nuxt `nuxt.config.js`
```typebuild: {    transpile: [      'three'    ], }```



### not allowed module import outside of module
> [Cannot import example files in Nuxt.js / Vue.js](https://discourse.threejs.org/t/cannot-import-example-files-in-nuxt-js-vue-js/8463/8)

### cdn
should import as module
> [Is there a site to load THREE library? ( No hotlinking )](https://discourse.threejs.org/t/is-there-a-site-to-load-three-library-no-hotlinking/6065/2)







