diff --git a/README.md b/README.md index e762e55..ae912d1 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,11 @@ ```sh npm install pixi.js ``` +There is no default export. The correct way to import PixiJS is: + +```js +import * as PIXI from 'pixi.js' +``` #### CDN Install (via cdnjs)