Does it work on nuxt?See original GitHub issue
Hi, is this component compatible with nuxt.js? I’m trying to use it as a plugin but i get this error:
Uncaught TypeError: Cannot read property 'install' of undefined at Function.Vue.use (vue.runtime.esm.js?2b0e:5100) at eval (parallax.client.js?61cc:4) at Module../plugins/parallax.client.js (app.js:662) at __webpack_require__ (runtime.js:796) ...
Thanks in advance!
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
<client-only>I get console error for this plugin
@kressso correct. It won’t work unless you make the parallax components global inside of your plugin file. importing the components inside of your template file the normal way will cause a warn (not an error).