I'm using mixitup plugin in my Nextjs app and as soon as i import the plugin in my index page it will return this error:
"ReferenceError: window is not defined"
Here is my code:
import mixitup from 'mixitup';
export default function Home() {
return <div>Hi</div>;
}
How should i solve this issue?