Hi there,
I’m working on migrating a few V3 modules to V4 but I’m running into difficulties adding JavaScript to the Layout Designer page. I want to use the layoutDesignerJavaScript() function to accomplish this like we did in V3. I’m starting off with a similar structure to the Hello World - With Data example, but adding the layoutDesignerJavaScript() function and twig file doesn’t do anything.
Maybe I’m missing something simple, but can someone please show an example of how to get this to work?
Thank you!