Closed alanvera48 closed 2 years ago
Same issue here.
if you import it like this:
const Steps = dynamic(() => import('intro.js-react').then((mod) => mod.Steps), {
ssr: false,
});
It should work
const Steps = dynamic(() => import('intro.js-react').then((mod) => mod.Steps), { ssr: false, });
@omridevk is 100% correct. If needed, here is a CodeSandbox example.
I am try to use intro js and intro js react in next js app but i does not work. I try to use like this https://codesandbox.io/s/bk6xj but it returns an error like Element is not defined