# How do we include js and css dependencies in Sage 9?

**URL:** https://discourse.roots.io/t/how-do-we-include-js-and-css-dependencies-in-sage-9/8574
**Category:** sage
**Created:** 2017-01-16T23:56:32Z
**Posts:** 16
**Showing post:** 5 of 16

## Post 5 by @weizung — 2017-11-06T19:25:38Z

Any improvements could automatic inject the JS and CSS file into the `main.js` and `main.scss`?

Based on library’s json file which with the main path:

```
"main": [
    "slick/slick.js",
    "slick/slick.css",
    "slick/slick.less",
    "slick/slick.scss"
]
```

if has `overrides` then use the new one:

```
"overrides": {
    "slick-carousel": {
      "slick/slick.js",
      "slick/slick.scss"
    }
]
```

---

_[View the full topic](https://discourse.roots.io/t/how-do-we-include-js-and-css-dependencies-in-sage-9/8574)._
