fix: non-SPA fn defs (closes #154)

This commit is contained in:
Jacky Zhao 2022-07-01 11:02:42 -07:00
parent 3cc761ea2d
commit 3912c98dad

View File

@ -127,8 +127,11 @@
navigate: (url) => (window.location.href = url), navigate: (url) => (window.location.href = url),
prefetch: () => {}, prefetch: () => {},
} }
window.addEventListener("DOMContentLoaded", () => {
init() init()
render() render()
})
</script> </script>
{{end}} {{end}}
</head> </head>