# Including css file from node\_modules in scss

**URL:** <https://discourse.gohugo.io/t/including-css-file-from-node-modules-in-scss/25838>\
**Category:** Uncategorized\
**Created:** [May 26, 2020, 4:30pm UTC](https://discourse.gohugo.io/t/including-css-file-from-node-modules-in-scss/25838 "2020-05-26T16:30:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Marcel\_Overdijk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/marcel_overdijk/32/4821_2.png) [@Marcel\_Overdijk](https://discourse.gohugo.io/u/Marcel_Overdijk)\
**Post date:** [June 1, 2020, 11:25am UTC](https://discourse.gohugo.io/t/including-css-file-from-node-modules-in-scss/25838/6 "2020-06-01T11:25:58Z")

</div>

Thx!

So indeed with `"includePaths" (slice "node_modules")` and `@import "leaflet/dist/leaflet";` it works 🙂

So it’s important to not use the `*.css` extension.

Now I only wonder why I need to explicitly include `"includePaths" (slice "node_modules")` as for `.scss` imports it works without it…

---

_[View the full topic](https://discourse.gohugo.io/t/including-css-file-from-node-modules-in-scss/25838)._
