Skip to content

Commit 2e6abc9

Browse files
committed
Update script template
1 parent 752d29c commit 2e6abc9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/templates/script.js.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
document.addEventListener('alpine:init', () => {
22
Alpine.data('{{pageSlug}}', () => ({
3+
ui: {},
4+
data: {},
5+
model: {},
36

7+
init() {
8+
9+
}
410
}))
511
})

0 commit comments

Comments
 (0)