Does FDK support Javascript modules?

Hi Community,

Am developing an app, where the single app.js file is more than 500 lines. It’s still growing :neutral_face:

What is the suggested way to split our code into multiple modules or any other method in FDK?

Am curious to know how you fellow developers handle large js file :slightly_smiling_face:

Thanks,
Arshath

Hey Arshath. Right now we do not support the js module system in front-end
Although you can have multiple js files and include all of them inside template.html
Refer Async Defer Scripts to check how to order the script tags. Hope this helps!

5 Likes

Stumbled across this feed and realised I might have been trying to use a node function that is not yet supported. Any idea if there will be support for “require” between multiple .js files? (modules)