node package manager
Love JavaScript? Your insights can make it even better. Take the 2017 JavaScript Ecosystem Survey ยป

babylonjs-gui

Babylon.js GUI module

For usage documentation please visit http://doc.babylonjs.com/overviews/gui

Installation instructions

CDN

Compiled js files (minified and source) are offered on our public CDN here:

NPM

To install using npm :

npm install --save babylonjs babylonjs-gui

If using TypeScript, the typing needs to be added to tsconfig.json:

    ....
    "types": [
        "babylonjs",
        "babylonjs-gui",
        "angularFTW"
    ],
    ....

Afterwards it can be imported to the project using:

import * as GUI from 'babylonjs-gui';

Using webpack to package your project will use the minified js file.