SPA SEO

SPA and SEO: Is Googlebot able to render a Single Page Application with Ajax calls?

How it works

Check out the full writeup!

Getting started

If you don't already have elm and elm-live:

$ npm install -g elm elm-live

Then, to build everything:

$ elm-live --dir=docs --output=docs/main.js src/main.elm --pushstate --open --debug

Then open http://localhost:8000/200.html (the app run on 200.html, this is a Surge requirement for SPA)

(Leave off the --debug if you don't want the time-traveling debugger.)

To deploy

$ cd docs
$ surge

Links