Ng-zorro-antd: Will this support Universal(Server Side Rendering) in the future?

Created on 16 Aug 2017  ·  24Comments  ·  Source: NG-ZORRO/ng-zorro-antd

I'm submitting a...


[ ] Bug report  
[x] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior

Some components just don't support universal currently.

Expected behavior

It would be very appreciate if this project support universal.Thanks!

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z

ng-zorro-antd version: X.Y.Z

Browser:
- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

For Tooling issues:
- Node version: XX  
- Platform:  

Others:

IssueHuntFest 🌈 Feature Request 🧭 SSR

Most helpful comment

Working on it now, plz give us more time.

All 24 comments

How is the progress?

How is the progress?
I met this problem, too.

will be supported in version 1.0

Hi, @vthinkxie!
My question is regarding ng-zorro's support of Angular Universal in general,
since our company is considering to use the library, but server side rendering is essential for us as well. Is it in the roadmap? Or it's something outside of your focus for now?

P.S. The current version is 1.0.0, but I seem to be getting the following error:

var ModalUtil$1 = new ModalUtil(document);
                                ^
ReferenceError: document is not defined

@dimitarrskv we have not fully test the universal yet, and we will try to support in later version.

+1

@vthinkxie The current version is 1.3.0. this is not support?

I met this problem, too.

I met this problem, too.
The current version is 1.4.0

+1

@dimitarrskv we have not fully test the universal yet, and we will try to support in later version.

Ng-zorro is good ui-framework, please resolve problems with angular-universal, it's really needed for good and big projects.

Working on it now, plz give us more time.

use server.ts from Angular-RU/angular-universal-starter

@Gorniv we will try it, thanks

@vthinkxie has started working. Visit this issue on Issuehunt

How is the progress?

@ElderJames Still ongoing. There is a lot of work to do. You can track this pull request: #2267.

@0maxxam0 funded this issue with $10. See it on IssueHunt

+1

+1

+1

@rororofff has funded $2.00 to this issue.


@vthinkxie has rewarded $10.80 to @hsuanxyz. See it on IssueHunt

  • :moneybag: Total deposit: $12.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $1.20
Was this page helpful?
0 / 5 - 0 ratings