Hello to all. I created a site on Webflow and decided to use its files in my application. I created all the components, everything works well. But scripts do not work. When trying to import a webflow.js, errors like “Expected an assignment or function call and instead saw an expression” appear on the console.
I know what I need to use
webflow.ready() in componentDidMount lifesycle, but I can’t connect the script itself. Please, if you can, tell me how to do this. If possible, an example code.
Thank you in advance.
Sorry for my english, so i hope you understand what i need :))