@nxext/stencil:component

Add a component to a ui library

Usage

nx generate component ...
nx g c ... # same

By default, Nx will search for component in the default collection provisioned in nx.json.

You can specify the collection explicitly as follows:

nx g @nxext/stencil:component ...

Show what will be generated without writing to disk:

nx g component ... --dry-run

Options

name (required)

Type: string

project (required)

Alias(es): p

Type: string

Project where the component is generated

directory

Alias(es): d

Type: string

A directory where the project is placed

skipFormat

Default: false

Type: boolean