When working with Unified UX, a library project is used to store all the assets to a set of components. These assets include configuration files, TypeScript files, test specs, stylesheets, and third-party packages from the NPM repository.
To create a project, run the following command:
uux generate library my-library-name
But replace "my-library-name" with the name of your project.
This is a complete list of options available via the uux generate
command:
Generates and/or modifies files based on a schematic.
USAGE
$ uux generate [SCHEMATIC] [NAME]
OPTIONS
-f, --force Using force will override any folders and files that already exist.
-h, --help show CLI help
-p, --prefix=prefix The prefix to apply to the generated component selector.
EXAMPLES
$ uux generate component my-text-field
$ uux generate library my-library
To see this list via the command line, run the uux generate
command with the --help
flag:
uux generate --help