【Three.js】使用vscode对threejs的代码提示

1.首先,你要安装Node.js

2.在vscode的 查看-> 集成终端中 输入

npm install --save @types/three

3.完成后,在my.js 同级建立文件jsconfig.json空文件
【Three.js】使用vscode对threejs的代码提示_第1张图片
4打开my.js 就有自动补全了。

你可能感兴趣的:(Three.js,vscode,Three.js)