Rules_nodejs: Add prerendering with angular to examples

Created on 1 Apr 2020  路  6Comments  路  Source: bazelbuild/rules_nodejs

馃殌 feature request

Description

Add an angular module to the example angular app which supports prerendering.

enhancement help wanted

All 6 comments

That sounds cool, it looks like this is specifically build-time rendering (run angular as a nodejs program in a build step to produce a populated index.html file that goes into the app resources) as opposed to having any server at runtime doing it?

@alexeagle Exactly! This is super useful for static pages like "About", "Terms" or even the Home page.

I created the issue because the implementation currently exceeds my own knowledge, otherwise I would have done a pull request. :laughing:

I had an example repo for this some months ago. Things have probably changed since then, but should be able to bring it back up to date. I can take this one.

@mattem Awesome! I'll check it out later. Thank you :)

@flolu Added the prerendering example to examples/angular, let me know how you get on

closed by 8509d9c

@mattem Awesome! Thank you so much!

Was this page helpful?
0 / 5 - 0 ratings