threejs.org,进入官网,在左侧找到github链接
2.点击code,将压缩包下载到本地,或使用ssh/https下载
3.下载后使用npm install安装依赖包,查看package.json中的启动代码,我这里是npm run start
4.创建一个新文件夹,使用npm init 下载依赖(如果报错使用npm init -y)
5.安装parcel(https://parceljs.org/docs/)
npm install -g parcel-bundler
6.配置打包编译文件
7.引入js文件和css文件