Skip to content

A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.

License

Notifications You must be signed in to change notification settings

hummingbird-community/hummingbird-elementary

Repository files navigation

Elementary: HTML Templating in Pure Swift

A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.

This packages helps you serve Elementary HTML web apps with Hummingbird.

Simply wrap HTMLResponse around your HTML content and return it from your routes.

import Hummingbird
import HummingbirdElementary

let router = Router()
router.get("index") { _, _ in
    HTMLResponse {
        MyIndexPage()
    }
}

Check out the docs in the Elementary repo for more information.

About

A modern and efficient HTML rendering library - inspired by SwiftUI, built for the web.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages