code: function replaceWith(to, params, query) {
      this.context.router.replaceWith(to, params, query);
    }
docs: Transitions to the URL specified in the arguments by replacing
  the current URL in the history stack.