Streaming live at 10am (PST)

Confused about exported JavaScript file


I started using webflow with the intention of creating isolated elements for use on a different CMS (expression engine), as that CMS is extremely difficult to use as a test and development platform.

Today I completed my first element, a reasonably simple website navigation that turns into a pretty cool hamburger menu at smaller sizes. However, when I went to export the site, with the intention of integrating it into my existing site I was horrified. The JS file is unformatted and completely unreadable. Not only that, but the ID tags tying the HTML elements to the JS file are not semantic, and make it very difficult for me to understand what is going on.

All I can think to do is perform a wholesale copy and paste of the HTML, CSS, and JS files into expression engine and hope everything works out.

Any advice on making the JS file more semantic, or exporting webflow files for use on another CMS would be greatly appreciated.

Thanks for your help!