Static GitHub Issues

[1064] How to use WOW.js with nuxt

prev: Pages assets with symlink directory in linux based system
next: Route params not persistent in error layout

I am having issues using a third party library. I have tried to follow the documentation but I am missing something. Using the starter template, I npm installed wow.js. I don't understand what to put in vendor js file.

my nuxt.config.js looks like: plugins: [ { src: '~plugins/main.js', ssr: false } ], build: { vendor: ['wowjs'],

my main.js file in the plugin folder reads: if (process.BROWSER_BUILD) { require('WOW') }

Any pointers?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c924">#c924</a>)</em></sub></div>