前言: 记录在vue中使用threejs步骤: 一、安装 npm install three --save 安装完成如下图: 二、 引入 // 引入threejs核心模块 import * as THREE from "three" // 引入OrbitControls