I have created a custom app with page_1.html , page_1.py file have also defined page.js in public/js.
Added the js file to hooks as well
app_include_js = “/templates/pages/page.js”
I am trying to call a custom method on a custom page.
but getting error
Uncaught ReferenceError: frappe is not defined