code: function processRouteContext (instance) {
    try {
      const route = instance.$route
      if (route) {
        const { path, query, params } = route
        const value = { path, query, params }
        if (route.fullPath) value.fullPath = route.fullPath
        if (route.hash) value.hash = route.hash
        if (route.name) value.name = route.name
        if (route.meta) value.meta = route.meta
        return [{
          key: '$route',
          value: {
            _custom: {
              type: 'router',
              abstract: true,
              value
            }
          }
        }]
      }
    } catch (e) {
      // Invalid $router
    }
    return []
  }
docs: Process possible vue-router $route context
  
  @param {Vue} instance
  @return {Array}