一、引入 <script src="./lib/dat.gui.min.js"></script> vue中引入: import { GUI } from 'three/examples/jsm/libs/lil-gui.module.min' 二、创建实例 const gui =