Closed MatteoGauthier closed 4 years ago
I searched for an answer but i can't find anything. Here is my file nuxt.config.js
plugins: [ { src: "~/plugins/vue-particles", ssr: false } ]
it throws the error Cannot read property 'getElementsByClassName' of null on route change.
Cannot read property 'getElementsByClassName' of null
I fixed this by adding the mode to client
mode
plugins: [ { src: "~/plugins/vue-particles", mode: 'client' } ]
Problem solved, weird issue
I searched for an answer but i can't find anything. Here is my file nuxt.config.js
it throws the error
Cannot read property 'getElementsByClassName' of null
on route change.