# Including javascript lib from node modules

**URL:** <https://discourse.gohugo.io/t/including-javascript-lib-from-node-modules/25427>\
**Category:** support\
**Created:** [May 11, 2020, 4:19pm UTC](https://discourse.gohugo.io/t/including-javascript-lib-from-node-modules/25427 "2020-05-11T16:19:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 11, 2020, 6:27pm UTC](https://discourse.gohugo.io/t/including-javascript-lib-from-node-modules/25427/2 "2020-05-11T18:27:14Z")

</div>

To use load resources via resources.Get etc. from node\_modules you need to mount them into your project (typically /assets, but you may need to mount the fontawesome fonts below /static).

Also note that if you’re not a big fan of NPM, you can mount GitHub projects directly, or use prepared Hugo Modules, e.g.

> **[gohugoio/hugo-mod-bootstrap-scss-v4](https://github.com/gohugoio/hugo-mod-bootstrap-scss-v4)**
>
> Bootstrap SCSS v4 packaged as a Hugo Module. Contribute to gohugoio/hugo-mod-bootstrap-scss-v4 development by creating an account on GitHub.

---

_[View the full topic](https://discourse.gohugo.io/t/including-javascript-lib-from-node-modules/25427)._
