No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
LICENSE
README.md
elm-package.json

README.md

AssetPath Build Status

Elm package for defining a typed asset path and obtaining its URL.

Usage

import Html exposing (..)
import Html.Attributes exposing (..)
import AssetPath exposing(Asset(..))


viewStar : Html msg
viewStar =
    img [ src <| AssetPath.url <| Asset "/assets/star.png" ]
        []