Hamburger-categories widget does not mount?

Great thanks… yes that makes sense and is showing now

As we are here talking about logging in the console
When following the docs Beginner's guide to developing Discourse Themes
When i try

<script type="text/discourse-plugin" version="0.8">
    console.log(Discourse)
</script>

I’m not sure I get a “global object to the console”, I get a class

And if i try something like

<script type="text/discourse-plugin" version="0.8">
  const settings = Discourse.SiteSettings;
 console.log(settings)
</script>

I get this error
THEME 6 'BCN Theme - watched locally'] Deprecation notice: use injected siteSettings instead of Discourse.SiteSettings

1 Like