Closed ohiosveryown closed 5 years ago
You probably need to require
it in mounted
as well.
hmm, still getting ReferenceError: window is not defined
Going to try and roll my own instead of using a third-party.
FWIW future folks, Embla seems to work fine.
I'm trying to use a third-party plugin (flickity) but I'm getting an error when the app tries to build:
window is not defined
. I initialized the plugin on the mount lifecycle fwiw.I'm guessing this is because saber/vue is trying to run the plugin while rendering to the page on the server.
Any thoughts?