cargo ux add

This is a Draft Version

Adds support for an external library to your project.

cargo ux add <collection> [options]


Adds the cargo package for a published library to your workspace, and configures the project in the current working directory (or the default project if you are not in a project directory) to use that library, as specified by the library's schematic. For example, adding @angular/pwa configures your project for PWA support:

cargo ux add @angular/pwa

The default project is the value of defaultProject in ux.yaml.


ArgumentDescriptionValue Type
collectionThe package to be added.string


OptionDescriptionValue TypeDefault Value
--defaultsDisable interactive input prompts for options with a default.boolean
--helpShows a help message for this command in the console.true|false|jsonfalse
--interactiveEnable interactive input prompts.boolean
--registryThe registry to use.string
--verboseDisplay additional details about internal operations during execution.booleanfalse