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

hugo
Jacky Zhao 2 years ago
parent 0896814959
commit 8d7a7b712f

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

Loading…
Cancel
Save