Include ports in example.

This commit is contained in:
Dillon Kearns 2020-10-16 10:36:52 -07:00
parent 8c3e27b3ff
commit 29aac16a33

View File

@ -1,4 +1,4 @@
module Main exposing (main)
port module Main exposing (main)
import Color
import Element exposing (Element)
@ -20,6 +20,9 @@ import Secrets
import Time
port example : String -> Cmd msg
manifest : Manifest.Config Pages.PathKey
manifest =
{ backgroundColor = Just Color.white
@ -75,7 +78,7 @@ init :
}
-> ( Model, Cmd Msg )
init maybePagePath =
( Model False 0, Cmd.none )
( Model False 0, example "Whyyyyy hello there!" )
type Msg