"Fossies" - the Fresh Open Source Software Archive

Member "angular-cli-8.3.23/docs/documentation/new.md" (15 Jan 2020, 2471 Bytes) of package /linux/www/angular-cli-8.3.23.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Documentation below is for CLI version 6 and we no longer accept PRs to improve this. For version 7 see here.

ng new

Overview

ng new [name] creates a new angular application.

Default applications are created in a directory of the same name, with an initialized Angular application.

Options

dry-run

–dry-run (alias: -d)

Run through without making any changes.

force

–force (alias: -f)

Forces overwriting of files.

verbose

–verbose (alias: -v)

Adds more details to output logging.

collection

–collection (alias: -c)

Schematics collection to use.

inline-style

–inline-style (alias: -s)

Specifies if the style will be in the ts file.

inline-template

–inline-template (alias: -t)

Specifies if the template will be in the ts file.

view-encapsulation

–view-encapsulation

Specifies the view encapsulation strategy.

routing

–routing

Generates a routing module.

prefix

–prefix (alias: -p)

The prefix to apply to generated selectors.

style

–style

The file extension to be used for style files.

skip-tests

–skip-tests (alias: -S)

Skip creating spec files.

skip-package-json

–skip-package-json

Do not add dependencies to package.json.