David Rousset 6b44717dde Merge branch 'master' of https://github.com/BabylonJS/Babylon.js 8 лет назад
..
babylon.gui.d.ts b80decd966 Added TransformNode class 8 лет назад
babylon.gui.js 5fc8c47575 Fixed #3172 8 лет назад
babylon.gui.min.js 165189e466 PP bug 8 лет назад
babylon.gui.module.d.ts b80decd966 Added TransformNode class 8 лет назад
package.json 421c77d41b npm 3.1.0-beta5 8 лет назад
readme.md 241153b81f Readme files for all modules 8 лет назад

readme.md

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.