const target = document.querySelector("#target");
const nav = new vegvisir.Navigation("/some-page");

// Will replace the contents of an element with id #target with the contents of /some-page
nav.navigate(target);