From 514b0338844334aa4aaf332c6e29efb6a1aadaa6 Mon Sep 17 00:00:00 2001 From: B Wu Date: Wed, 7 Aug 2024 20:11:52 -0700 Subject: feat: add static and template rendering --- static/index.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 static/index.js (limited to 'static/index.js') diff --git a/static/index.js b/static/index.js new file mode 100644 index 0000000..2c8ed38 --- /dev/null +++ b/static/index.js @@ -0,0 +1,5 @@ +window.onload = () => { + console.log('from js'); + const kennelWindowEle = document.querySelector('#kennel-window'); + kennelWindowEle.innerHTML = 'rendered from static/index.js'; +} -- cgit v1.3