{"repo":"chrisguttandin/angular-prerender","free":true,"listed":false,"github":"https://github.com/chrisguttandin/angular-prerender","clone":"git clone https://github.com/chrisguttandin/angular-prerender.git","description":"A command line tool to prerender Angular Apps.","language":"JavaScript","stars":127,"topics":["angular","cli","command-line","ngx","server-side-rendering","static-site-generator"],"license":"MIT","category":"cli-tools","readme_excerpt":"angular-prerender A command line tool to prerender Angular Apps. This command line tool is meant to simplify the build process of static Angular apps. It works by analyzing the config file created by the Angular CLI. It looks for a client and server app target defined in the angular.json file. It does then render each route and merges the output with the static build for the client. Usage angular-prerender is available on npm. It will most likely be a dev dependency of your project. The command to install it will then look like this: In case you used all the default settings of the CLI angular-prerender will be able to pick up all the necessary information on its own. You can run it on the command line by only specifying the browser target. It is also possible to skip the explicit installation of angular-prerender. The following is a complete example which will generate a very basic static Angular app called \"universe\". Arguments In some scenarios angular-prerender will not be able to grab all the information by analyzing the angular.json file alone. In that case you can help it by specifying some command line arguments. --config The config option expects a path (including the filename) to the angular.json file of your project. By default it will look for it in the current working directory. --exclude-routes This option can be used to tell angular-prerender not to render specified routes. The given routes can't contain any parameters. --include-routes This option can be used ","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrisguttandin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrisguttandin/angular-prerender/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."}