i am pretty new to this, so sorry if my question is silly: how do i use/import/require my own little js modules that front-end script needs to access so that it works? i cant figure out any properly working way in gomix…
i tried references to module file in html file script tag, client script (require method) etc, but nothing worked for me…
thanks for the answer. i can make thigns work if they are in BE part, i could even before asking, but i am still puzzled and i think it must be possible, to access FE scripts in BE ones and vice versa.
i cant make it work on FE though. do you think, you could have a look and tell me if it is possible at all what i want?
here i am trying to use function greet from show.js in mainsrcipt.js. when i uncomment line 8 in mainscript (saying var obj = require…) mainscript doesnt work in project’s live view.
but you can see that i can do the same thing on BE with aashow.js and server.js.