Using the MoonRouter with Moon.js

Using the MoonRouter with Moon.js

Lately I've been using Moon.js in a couple of playground projects, and I was impressed by how easy it is to use the router. In this article, I'll be looking at exactly that. Let's first start off by creating a new index.html with Moon, MoonRouter and app.js: <!DOCTYPE html> <html lang="en"> <head> <title>Moon.js Router&…