How to call a Function defined in SITE tab from PAGE tab

I have a function defined in the SITE tab as "export function Search($w) " , I would like to call this function from a PAGE. Currently this option is not available.

Refer attached images


Rfere

Hi,
For sharing code between pages you can create files under the Public folder and import them in every page you need. You can read more about it in our documentation.

Can you please point me to this documentation?

Hello,

You can find more information here .

Thank you Ido & Tomer for your pointers.