-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with react next js #13
Comments
Did you install the latest version of split-type? |
@trompx sorry it took me a few days to respond Just tested split-type with Next js, I am getting the same error. |
I just released a patch version v0.2.5 that fixes this issue. I've tested it with Next JS and it seems to be working fine now. Here is a CodeSandbox Example with next and split-type@0.2.5. |
I'm going to close this now since it's been resolved. @trompx I'm not sure if you saw my previous comment, but this issue was fixed in version 0.2.5. Once you upgrade to the new version, SplitType should work fine with Next.js. If you are still having problems after upgrading to 0.2.5, let me know and I'll reopen this. |
So sorry for answering this late, I've been caught by other projects. It works wonder now, no more errors, thanks ! |
Great, glad to hear it! |
Hello,
I was using an old version of splittype and recently migrated to next js.
I tried to use your new version
import SplitType from 'split-type'
but I get the following error:Any idea how to solve this?
The text was updated successfully, but these errors were encountered: