Skip to content

Commit 853c6be

Browse files
fix: Add documentation link for Data Script usage
1 parent 3fe9354 commit 853c6be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

frontend/src/components/PageScript.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
height="65vh"
3434
@save="savePageDataScript"
3535
:showSaveButton="true"
36-
description='Can be used to fetch dynamic data from server and pass it to the page.
37-
<br />
38-
eg. data.events = frappe.get_list("Event")'
36+
description='Use Data Script to provide dynamic data to your web page.<br>
37+
<b>Example:</b> data.events = frappe.get_list("Event")<br><br>
38+
For more details on how to write data script, refer to <b><a class="underline" href="https://docs.frappe.io/builder/data-script" target="_blank">this documentation</a></b>.
39+
'
3940
:show-line-numbers="true"></CodeEditor>
4041
</div>
4142
</template>

0 commit comments

Comments
 (0)