Server side rendering with Angular Universal
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior Console errors while startup with Angular Universal app
Expected behavior Usual server-side rendering application
Reproduction of the problem
- Create app with Angular Universal https://angular.io/guide/universal
- install ngx-smart-modal as usual
- Try to run application
What is the motivation / use case for changing the behavior? Possibility to use ngx-smart-modal in applications with server-side rendering (without browser-specific api)
Please tell us about your environment: NodeJS
-
Smart Modal version: 0.8.x 7.1.1
-
Angular version: 2.0.x ~7.2.0
-
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] NodeJS
-
Language: [all | TypeScript X.X | ES6/7 | ES5]
Solution: Using browser-specific api: document, window with special wrappers; Official angular documentation: https://github.com/angular/universal/blob/master/docs/gotchas.md https://angular.io/api/common/DOCUMENT
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top GitHub Comments
Hi, i made changes to associated PR and fixed issues.
Any update on this? When it will be released?