The dependency modules don’t need to be Hugo Modules.
Have a look at my sample setup: [demo here]
Main repo: GitHub - pointyfar/hmd-main imports:
- GitHub - jgthms/bulma: Modern CSS framework based on Flexbox
- GitHub - sindresorhus/modern-normalize: 🐒 Normalize browsers' default style
- GitHub - pointyfar/hmd-content
- GitHub - pointyfar/hmd-theme
My main repo _vendor/modules.txt
looks like this:
# github.com/pointyfar/hmd-content v1.0.2
# github.com/pointyfar/hmd-theme v1.0.4
# github.com/feathericons/feather v4.28.0+incompatible
# github.com/FortAwesome/Font-Awesome v4.7.0+incompatible
# github.com/twbs/icons v1.4.0
# github.com/jgthms/bulma v0.0.0-20210305201541-f26b871321a1
# github.com/sindresorhus/modern-normalize v1.0.0
Other than the repos under my own name, the other dependencies are not Hugo Modules.
Have you also tried the marked solution in the other topic you linked to?
Your nested module config.yaml
is inside a config dir. It must not be inside a config dir.