From e2e80b998eba0fbe820505fdb9dfea8d865a29db Mon Sep 17 00:00:00 2001 From: Sneed Group Holder Date: Sun, 13 Oct 2024 11:33:05 -0500 Subject: [PATCH] Add example. --- addon-scripts/1.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon-scripts/1.js b/addon-scripts/1.js index c97a462..b2b434a 100644 --- a/addon-scripts/1.js +++ b/addon-scripts/1.js @@ -11,7 +11,9 @@ const mainHTML = global.marked.parse(`# Welcome to ContentCraft! From all of us at Sneed Group. - PS: PRO TIP - USE "global" WHEN YOU WANT TO USE VARIABLES CROSS-ADDON.`) + PS: PRO TIP - USE "global" WHEN YOU WANT TO USE VARIABLES CROSS-ADDON. + + Example - \`global.quickdb = require("quick.db)\``) global.app.get('/', (req, res) => { res.send(mainHTML);