安装THREE包 npm install three. 在src目录新建cube.js,用以创建cube组件 echo cube.js. 将src目录下的app.js修改,使其引入cube组件.
確定! 回上一頁