webgl three.js 实现俄罗斯方块 使用方法,在webpack工程中直接 import该文件 比如: import Tetris from './tetris'; new Tetris(domName||null); 就可以运行了