Update readme to use namespace style es6 import

This commit is contained in:
efokschaner 2018-04-30 22:27:03 -07:00 committed by Don McCurdy
parent fdcd266249
commit 551ee2a089

View File

@ -25,7 +25,7 @@ $ npm install --save dat.gui
const dat = require('dat.gui');
// ES6:
import dat from 'dat.gui';
import * as dat from 'dat.gui';
const gui = new dat.GUI();
```