Update README.md

This commit is contained in:
Don McCurdy 2018-03-14 07:42:50 -07:00 committed by GitHub
parent 10d5a55040
commit 49d31a644a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,12 @@ $ npm install --save dat.gui
```
```js
// CommonJS:
const dat = require('dat.gui');
// ES6:
import dat from 'dat.gui';
const gui = new dat.GUI();
```