After some more code digging and experiments I can answer my own question. A theme is a normal plugin and as such does not inherit any behavior from other plugins.
So you need to copy everything you need from the base theme library.js to your child theme. And of course, you need to declare client scripts explicitly.
Loading of missing templates from base theme is the only link between the base and the child theme.
override Helper method in Harmony child theme
-
Id like to override a helper method in
NodeBB/public/src/modules/helpers.common.js
>>buildCategoryLabel
I want add my own custom class, so I can easily customize the topic badge. It seems like overkill to have to override 2 templates to achieve this.
partials/topics_list.tpl
topic.tpl
how would I go about this?