{"repo":"nestjs/ng-universal","free":true,"listed":false,"github":"https://github.com/nestjs/ng-universal","clone":"git clone https://github.com/nestjs/ng-universal.git","description":"Angular Universal module for Nest framework (node.js) 🌷","language":"TypeScript","stars":444,"topics":["nestjs","nest","angular","angular-universal","server-side-rendering","nodejs","typescript"],"license":"MIT","category":"cli-tools","readme_excerpt":"[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master [travis-url]: https://travis-ci.org/nestjs/nest [linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux [linux-url]: https://travis-ci.org/nestjs/nest A progressive Node.js framework for building efficient and scalable server-side applications. Description Angular Universal module for Nest. Installation Using the Angular CLI: Or manually: Example See full example here. Usage If you have installed the module manually, you need to import AngularUniversalModule in your Nest application. API Spec The forRoot() method takes an options object with a few useful properties. Property Type Description ------------------- ------------------- -------------------------------------------------------------------------- viewsPath string The directory where the module should look for client bundle (Angular app) bootstrap Function Angular server module reference ( AppServerModule ). templatePath string? Path to index file (default: {viewsPaths}/index.html ) rootStaticPath string? Static files root directory (default: . ) renderPath string? Path to render Angular app (default: ) extraProviders StaticProvider[]? The platform level providers for the current render request inlineCriticalCss boolean? Reduce render blocking requests by inlining critical CSS. (default: true) cache boolean? \\ object? Cache options, description below (default: true ) errorHandler Function? Callback to be called in case of a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nestjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nestjs/ng-universal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}