in knowledgebase I found these three lines . I have some question about these three lines.
Create a template html file in your app. e.g. address_list.html
Add it to build.json for your app (you can include it in frappe.min.js or your own javascript file).
To render it in your app, use frappe.render(frappe.templates.address_list, {[context]})
questions
-
where i can create html file in my app? is it in templates, or public folder?
-
I have my own javascript file test.js ? so i am added build.json file shown in bellow is it correct?
{
“js/test.js”: [
“public/html/test.html”
]
} -
where i can write render code show bellow?
frappe.render(frappe.templates.address_list, {[context]})
finally I need test.html if i type url http://somelocalhost:8000/desk/test the test.html will be shown.