You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am trying to learn and add BarbaJS to a NextJS 15 project. I was mostly looking for tutorials from YouTube and Barba Docs. However, I discovered that BarbaJS doesn't seem to work properly in TypeScript. I got multiple errors when I tried to implement it in a TSX component. These errors are -
Could not find a declaration file for module '@barba/core'
Thanks for opening an issue.
It's probably related to #739 🤔
There is already a patched version coming end of year / beginning 25'.
Note that, as explained in the docs:
When using a front-end framework like React, Vue or Next, you should take a look at the framework documentation and use everything the framework is bringing you, like page transitions, routes, etc. instead of trying to implement another library over a complex framework layout.
What version are you using?
2.10.3
What package are you using?
@barba/core
Describe your issue
Hello. I am trying to learn and add BarbaJS to a NextJS 15 project. I was mostly looking for tutorials from YouTube and Barba Docs. However, I discovered that BarbaJS doesn't seem to work properly in TypeScript. I got multiple errors when I tried to implement it in a TSX component. These errors are -
Here are the screenshots -
Here is the current broken repo that includes these issues - https://github.com/ShayokhShorfuddin/broken-barba-project
Please take a look into the issue. Thanks in advance.
The text was updated successfully, but these errors were encountered: