# Import WOW.js not working correctly with sage 9

**URL:** https://discourse.roots.io/t/import-wow-js-not-working-correctly-with-sage-9/8198
**Category:** sage
**Tags:** webpack
**Created:** 2016-11-26T18:18:01Z
**Posts:** 15
**Showing post:** 2 of 15

## Post 2 by @ben — 2016-11-28T00:28:29Z

Here’s how I got it working:

1. `npm install --save wow.js` (note the `.` and `--save` flag)
2. In `Common.js`:

```
import Wow from 'wow.js';

export default {
  init() {
    // JavaScript to be fired on all pages
    const wow = new Wow();
    wow.init();
  },
  finalize() {
    // JavaScript to be fired on all pages, after page specific JS is fired
  },
};
```

---

_[View the full topic](https://discourse.roots.io/t/import-wow-js-not-working-correctly-with-sage-9/8198)._
