Loading rexUI plugin error

I am adding the rexUI plugin to my game on phaser 3 using “scene.load.plugin(‘rexuiplugin’, 'rexuiplugin.min.js ')”. If the third parameter is set to false, the download will be error-free, but the plugin will not work either. If I set the parameter to true, I will get the error “Cannot read properties of undefined (reading ‘game’)”. So, what am I doing wrong and how to extend different ui classes loaded from this min plugin version?

You can see any of demo on codepen, like this one.

In preload method, line 12-18

    preload() { 
        this.load.scenePlugin({
            key: 'rexuiplugin',
            url: 'https://raw.githubusercontent.com/rexrainbow/phaser3-rex-notes/master/dist/rexuiplugin.min.js',
            sceneKey: 'rexUI'
        });      
    }

won’t it load again on each scene, delaying the launch time? And in this case, how to perform inheritance? As example, Class MyButton extends plugin.buttons