# Respond.js: how to get it working?

**URL:** https://discourse.roots.io/t/respond-js-how-to-get-it-working/2272
**Category:** uncategorized
**Created:** 2014-09-16T21:58:32Z
**Posts:** 3

## Post 1 by @sticklechick — 2014-09-16T21:58:32Z

Hi there:

I am using grunt and compiling using the grunt build command. But respond.js seems to be missing … I’m guessing that I’m missing an obvious step, but can’t find my way.

In previous versions of Roots, I modified the lib/scripts.php file to register and enqueue respond.js

```
wp_register_script('respond', get_template_directory_uri() . '/assets/js/vendor/respond.min.js', false, null, true);
    
wp_enqueue_script('respond');
```

With Roots 7.0, I’m not sure what to do? How do I get respond.js going?

Thank you!

---

## Post 2 by @cfx — 2014-09-17T03:49:15Z

The latest version of Roots includes Respond.js as a Bower package by default. If you successfully managed to get up and running with NPM and Grunt then it should be available without the need to enqueue it manually in `scripts.php`, however you will need to ensure Grunt compiles it into your JavaScript by adding the file to `jsFileList` here: [https://github.com/roots/roots/blob/master/Gruntfile.js#L8](https://github.com/roots/roots/blob/master/Gruntfile.js#L8)

The file/string you need to add is`'assets/vendor/respond/src/respond.js'`

---

## Post 3 by @sticklechick — 2014-09-17T04:56:43Z

Thank you SO MUCH! Absolutely worked.
