I created a simple index.html page in Hugo site that contains a bootstrap navbar and the code from the example site for the official Hugo Bootstrap Module. I followed all the instructions provided at github.com/gohugoio/hugo-mod-bootstrap-scss
I basically recreated the example web site but added a navbar. Everything works just like on the official repository, including popper and toast, but the navbar hamburger menu isn’t expanding when you click on it. I expected the javascript to be linked after executing all the steps. Clearly, there is a gap in my knowledge but I can’t seem to discover the answer.
Thanks for the quick reply! I had imported the component yesterday and no luck. I read your instructions and tried it again today - still not working.
I updated my repository with your instructions for anyone to see my code.
It sounds like this should be fairly easy. I do see there is a function written after the popper and toast imports for the imports to function correctly. Is there anything else that you can think of to make the dropdown import work?
You’ve to import the collapse as well, since you’re using collapse component on navbar, so that you can expand the menus on small screen, if you found some component not working, it probably causes by the missing the component JS.