I get this error when I import NgxGalleryModule into a feature module:
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
The problem seems to be this import in NgxGalleryModule:
import {HAMMER_GESTURE_CONFIG, HammerGestureConfig} from '@angular/platform-browser';
I get this error when I import NgxGalleryModule into a feature module:
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
The problem seems to be this import in NgxGalleryModule: import {HAMMER_GESTURE_CONFIG, HammerGestureConfig} from '@angular/platform-browser';
Is there a work around for this?