clog/tutorial/13-tutorial/hello-clog/hello-clog.lisp
2021-01-20 17:16:36 -05:00

15 lines
278 B
Common Lisp

(defpackage #:hello-clog
(:use #:cl #:clog)
(:export start-app))
(in-package :hello-clog)
(defun on-new-window (body)
(create-div body :content "Hello World!")
(run body))
(defun start-app ()
(initialize #'on-new-window :static-root #P"www/")
(open-browser))