Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Angular Universal error #11

Open
1 of 5 tasks
abelpuentes opened this issue Dec 17, 2020 · 0 comments
Open
1 of 5 tasks

Angular Universal error #11

abelpuentes opened this issue Dec 17, 2020 · 0 comments

Comments

@abelpuentes
Copy link

abelpuentes commented Dec 17, 2020

Issue checklist

When we use the library with Angular Universal, Angular Universal doesn't work.

I'm submitting a...

  • Regression
  • Bug report
  • Feature request
  • Documentation issue or request
  • Support request

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant