本頁包含 Elm 0.18

主視界(Main view)

修改 src/View.elm 包含玩家列表:

module View exposing (..)

import Html exposing (Html, div, text)
import Messages exposing (Msg(..))
import Models exposing (Model)
import Players.List


view : Model -> Html Msg
view model =
    div []
        [ page model ]


page : Model -> Html Msg
page model =
    Html.map PlayersMsg (Players.List.view model.players)

results matching ""

    No results matching ""