mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-03 01:16:14 +03:00
Include ports in example.
This commit is contained in:
parent
8c3e27b3ff
commit
29aac16a33
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user