From e7c479f7022b7e6a4d2f5ca7f6eafe0fa1d3c4ef Mon Sep 17 00:00:00 2001
From: ben
Date: Fri, 6 Jan 2023 15:37:04 +0000
Subject: [PATCH] Tidied tip format
---
.../example/templates/example/index.html | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/lnbits/extensions/example/templates/example/index.html b/lnbits/extensions/example/templates/example/index.html
index c2891b2fa..64a4d3dde 100644
--- a/lnbits/extensions/example/templates/example/index.html
+++ b/lnbits/extensions/example/templates/example/index.html
@@ -110,6 +110,16 @@
FastAPI auto-generates swagger UI docs for testing
endpoints /docs
+
+
+ TIP: Although it is possible for
+ extensions to use other extensions API endpoints (such as
+ with the Satspay and Onchain extension), ideally an
+ extension should only use LNbits
+ core
+ endpoints.
+
views.py
is used
for setting application routes:
@@ -131,11 +141,12 @@
open-source Vue.js based framework for building apps.
-
- TIP: Look through
+
+ TIP: Look through
/template
files
- in other extensions for examples.
-
+ in other extensions for examples of Quasar elements being
+ used.
In the below example we make a dialogue popup box (box can