This episode begins a series in which we build a Single Page Application (SPA) clone of Hacker News. We’ll call our version Technologist News.

We begin by setting up the most basic application and supporting infrastructure possible. We’ll use Webpack to do our automatic compilation.

Examples app.js

``` import Elm from '../src/Main.elm'

const div = document.getElementById('main') window.main = Elm.Main.embed(div)

```

index.html

```

```

Links * HackerNews API * rtfelman/elm-spa-example * Episode 39: Elm & Webpack