Topic: mdbParallax not working with NUXT.js
Expected behavior Parallax working Actual behavior Error: window or document undefined Resources (screenshots, code snippets etc.) I tried to put the component inside the error stopped but parallax is not rendered.
Open
- User: Pro
- Premium support: No
- Technology: Vue
- MDB Version: 6.3.0
- Device: pc
- Browser: firefox
- OS: windows
- Provided sample code: No
- Provided link: No
Mikołaj Smoleński staff commented a year ago
Thanks for reporting the issue. It won't work, since Nuxt is not compatibile with
windowobject. We will do our best to find a workaround.Best regards
Tenarius commented 11 months ago
Parallax works for me with nuxt 2.0.0 and mdbvue 6.7.1. You may need to install some JS files manually. In this case, follow the instructions at: https://nuxtjs.org/guide/plugins/
Mikołaj Smoleński staff commented 10 months ago
Thanks for your remarks. Best regards