-
Hello community, I want to use the default mdx file/routes in my remix project, but within the mdx file, I want to integrate gsap to create some effects that on the left side is the pinned sidebar while the user can scroll the content on the right, anyway, I have a hard time wrapping my head around this issue how to implement it in the mdx file in remix. I know how to use gsap, i just don't get the idea how to implement gsap in the mdx file in remix? Could anyone guide me a direction? Thanks! Here is the sample
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@xnslx Hey 👋 As a possible solution, I think you can move the implementation with |
Beta Was this translation helpful? Give feedback.
Hey @devs9 , sorry for the late reply. Finally I figured it out. You need to have a separate component to handle the
gsap
stuff and then import back to themdx
file. I wrote two articles documenting this.Here is the link,