I am trying to create some 3d text but I get the following error:
WARNING Compiled with 2 warnings 下午2:35:26
warning in ./src/views/dashboard/mixins/threeMap.js
"export 'FontLoader' (imported as 'THREE') was not found in 'three'
warning in ./src/views/dashboard/mixins/threeMap.js
"export 'TextGeometry' (imported as 'THREE') was not found in 'three'
version : "three": "^0.151.3"
usage example:
import { FontLoader } from 'three/examples/jsm/loaders/FontLoader'
import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry'