angular-prerender

(★ 127)

A command line tool to prerender Angular Apps.

File Explorer

  • .gitignore
  • LICENSE
  • package-lock.json
  • package.json
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

interface

View Details ▼

Manage interfaces.
Accessed in configuration mode.

interface vlan {{1}}

Configure a VLAN:

{{no shutdown|shutdown}}

Set an interface to be active or inactive (this is run inside the interface command):

🔍

ng add

View Details ▼

Add and configure packages for the current workspace project.

ng add {{package}}

Add a package to the current project:

ng add {{package1 package2 ...}}

Add multiple packages:

ng add {{package}}@{{version}}

Add a specific version of a package:

🔍

ng build

View Details ▼

Compile an Angular application or library into an output directory named `dist/`.

ng {{[b|build]}}

Build an Angular application or library:

ng {{[b|build]}} --output-path {{path/to/directory}}

Specify the output path relative to the workspace root:

ng {{[b|build]}} --aot

Enable Ahead-of-Time (AOT) compilation:

🔍

ng config

View Details ▼

Use JSON path notation (camelCase) to edit workspace or project configurations, such as build options.

ng config

Display all configuration values:

ng config projects.{{project_name}}.prefix

Get a specific configuration value:

ng config projects.{{project_name}}.prefix {{value}}

Set a configuration value:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npx

View Details ▼

This command is an alias of `npm exec`.

tldr npm exec

View documentation for the original command:

🔍

size

View Details ▼

Display the sizes of sections inside binary files.

size {{path/to/file}}

Display the size of sections in a given object or executable file:

size {{[-o|--radix=8]}} {{path/to/file}}

Display the size of sections in a given object or executable file in [o]ctal:

size {{[-d|--radix=10]}} {{path/to/file}}

Display the size of sections in a given object or executable file in [d]ecimal:

// repository documentation