feat(build): add concise lower helper
Generate lower(html) as the short static/prototype fragment lowering helper while keeping lower_html(html) as the compatibility alias, then move the v0 page assembly to the leaner path. req: dx/006 req: component/003
This commit is contained in:
@@ -181,12 +181,12 @@ fn registry(state: Arc<ExampleState>) -> HandlerRegistry {
|
||||
|
||||
fn all_examples() -> String {
|
||||
[
|
||||
counter::lower_html(include_str!("../templates/counter.heml")),
|
||||
todos::lower_html(include_str!("../templates/todos.heml")),
|
||||
wizard::lower_html(include_str!("../templates/wizard.heml")),
|
||||
auth::lower_html(include_str!("../templates/auth.heml")),
|
||||
counter::lower(include_str!("../templates/counter.heml")),
|
||||
todos::lower(include_str!("../templates/todos.heml")),
|
||||
wizard::lower(include_str!("../templates/wizard.heml")),
|
||||
auth::lower(include_str!("../templates/auth.heml")),
|
||||
render_page_swap("Welcome", "Welcome"),
|
||||
notifications::lower_html(include_str!("../templates/notifications.heml")),
|
||||
notifications::lower(include_str!("../templates/notifications.heml")),
|
||||
]
|
||||
.join("\n")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user