Static GitHub Issues

[482] Client-side only plugin not working

prev: Use middleware to throw an error in ie11
next: Dynamically create event Listeners

Hello,

When I try to do a plugin available only client side, it's not working. I have an issue, because nuxt is trying to find ~ as first char of plugin string, but object provided.

Workaround :

I'm able to include everywhere the plugin then check inside if (process.browser)

npm list | grep nuxt -> nuxt@0.9.9

So may be it's a feature of 0.10 but I've not seen that in changelog

Thanks for help & for this amazing lib ;) Gaƫl

<!--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/c423">#c423</a>)</em></sub></div>