register(userConfig) {
        this.userConfig =
            typeof userConfig == 'string' ? { proxy: userConfig } : userConfig;
    }
Register the component.

@param {string|BrowserSyncOptions} userConfig