# Nested or sub modules

**URL:** <https://discourse.gohugo.io/t/nested-or-sub-modules/31861>\
**Category:** support\
**Tags:** modules\
**Created:** [March 20, 2021, 11:58am UTC](https://discourse.gohugo.io/t/nested-or-sub-modules/31861 "2021-03-20T11:58:12Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [March 22, 2021, 3:55am UTC](https://discourse.gohugo.io/t/nested-or-sub-modules/31861/13 "2021-03-22T03:55:53Z")

</div>

The dependency modules don’t need to be Hugo Modules.

Have a look at my sample setup: [[demo here](https://brave-yalow-9c02d4.netlify.app/)]

Main repo: [GitHub - pointyfar/hmd-main](https://github.com/pointyfar/hmd-main) imports:

- [GitHub - jgthms/bulma: Modern CSS framework based on Flexbox](https://github.com/jgthms/bulma)
- [GitHub - sindresorhus/modern-normalize: 🐒 Normalize browsers' default style](https://github.com/sindresorhus/modern-normalize)
- [GitHub - pointyfar/hmd-content](https://github.com/pointyfar/hmd-content)
- [GitHub - pointyfar/hmd-theme](https://github.com/pointyfar/hmd-theme)
  - imports:
    - [GitHub - feathericons/feather: Simply beautiful open source icons](https://github.com/feathericons/feather)
    - [GitHub - FortAwesome/Font-Awesome: The iconic SVG, font, and CSS toolkit](https://github.com/FortAwesome/Font-Awesome)
    - [GitHub - twbs/icons: Official open source SVG icon library for Bootstrap.](https://github.com/twbs/icons)

My main repo `_vendor/modules.txt` looks like this:

```auto
# 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](https://discourse.gohugo.io/t/hugo-theme-module-with-nested-module/28199/6) in the other topic you linked to?

Your nested module [`config.yaml`](https://github.com/powerfulwebdesign/test-nested-module/blob/main/config/_default/config.yaml) is inside a config dir. It must not be inside a config dir.

---

_[View the full topic](https://discourse.gohugo.io/t/nested-or-sub-modules/31861)._
