Improve document component

This commit is contained in:
Akira Tempaku 2024-04-22 06:37:20 +09:00
commit 5d1cbd4b9f
12 changed files with 138 additions and 114 deletions
src/routes

View file

@ -7,9 +7,9 @@
(pi:define-element page ()
(pi:h
(section (view:asset-props :css "pages/index.css"
:js "pages/index.js"
:x-data "indexPage")
(section (view:cmp-props :css "pages/index.css"
:js "pages/index.js"
:x-data "indexPage")
(h1
"Hello, World!")
(a :href "/about" :hx-boost "true"