text: import 'phaser';
  import UIPlugin from '../../templates/ui/ui-plugin.js';
  
  const COLOR_PRIMARY = 0x4e342e;
  const COLOR_LIGHT = 0x7b5e57;
  const COLOR_DARK = 0x260e04;
  
  class Demo extends Phaser.Scene {
      constructor() {
          super({
              key: 'examples'
          })
      }
  
      preload() { }
  
      create() {
          this.rexUI.add.sizer({
              x: 400, y: 300,
              orientation: 'x',
              rtl: true
          })
              .add(this.add.text(0, 0, 'A', { fontSize: 48 }))
              .add(this.add.text(0, 0, 'B', { fontSize: 48 }))
              .add(this.add.text(0, 0, 'C', { fontSize: 48 }))
              .layout()
      }
  
      update() { }
  }
  
  var config = {
      type: Phaser.AUTO,
      parent: 'phaser-example',
      width: 800,
      height: 600,
      scale: {
          mode: Phaser.Scale.FIT,
          autoCenter: Phaser.Scale.CENTER_BOTH,
      },
      scene: Demo,
      plugins: {
          scene: [{
              key: 'rexUI',
              plugin: UIPlugin,
              mapping: 'rexUI'
          }]
      }
  };
  
  var game = new Phaser.Game(config);