Where should I put my utility javascript functions so they can be accesed from any page?
Thx!
Note: I’m using F7-React
Where should I put my utility javascript functions so they can be accesed from any page?
Thx!
Note: I’m using F7-React
Just put them in a JS file and load it after app.js
Then call them accordingly.
It’s no different than any other JS application. If you must use global variables you could define them in this file as well if needed.