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.
Why is making a theme such a bad experiance?
aStonedPenguin last edited by
To start the docs are so all over the place I could be completely wrong here but why is there no decent way to make a theme? Restarting every time to see a change is absolutely ridiculous and unrealistic.
It will even only recompile the assets that were changed.
Edit: also, if you want to avoid changing files in the first, you may want to learn how the devtools work so you can edit CSS live, and even add those changes to local files automatically.