This page covers Tutorial v2. Elm 0.18.

Main View

Modify src/View.elm to include the list of players:

module View exposing (..)

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

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

page : Model -> Html Msg
page model =
    Players.List.view model.players

When you run the application you should see a list with one user.


The application should look like

results matching ""

    No results matching ""