code: function router(config = {}) {
      $extend(settings, config);
  
      // Update scrollBehavior property in case that was changed
      history.scrollBehavior = settings.scrollBehavior;
      history.transition = settings.transition;
  
      return router;
  }
docs: Set base configurations for router
  
  @param {Object} config
  @returns {router}