Open abelpuentes opened 3 years ago
When we use the library with Angular Universal, Angular Universal doesn't work.
Angular version: 10.1.4
NgShoppingCart version: 1.0.0
Angular Universal failed because the use of window without check if is the browser or not.
Check if can use the variable window
Create an angular project with angular universal using this library.
Issue checklist
When we use the library with Angular Universal, Angular Universal doesn't work.
I'm submitting a...
Environment
Angular version: 10.1.4
NgShoppingCart version: 1.0.0
Current behavior
Angular Universal failed because the use of window without check if is the browser or not.
Expected behavior
Check if can use the variable window
Steps to reproduce
Create an angular project with angular universal using this library.