app.use(plugins.Theme); => Cannot read property 'className' of null

Hi all,
I am missing something, I guess !
As soon as i insert app.use(plugins.Theme); in my start script, i get the error message : Cannot read property ‘className’ of null.
I didn’t find anything in the docs nor the forum.
Any suggestion welcome.

Hello,

Could you please share you app creating code? I guess we need more details.

The theme plugin does no magic. It sets CSS to document body
webix-jet/Theme.ts at master · webix-hub/webix-jet · GitHub and inside the webix.html.removeCss/addCss functions its modifies document.body.className. This should be available for sure.

Hello Helga,
My mistake, i called app.use(plugins.Theme) to soon, before the first view.
Everything is Ok now,
Thanks