Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 469 Bytes

File metadata and controls

25 lines (17 loc) · 469 Bytes

This page covers Elm 0.18

メインビュー

__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)