This project was generated with Ignite UI CLI version 2.1.1.
Run ig start
to build the application, start a web server and open the application in the default browser. Then navigate to http://localhost:4200/
. Default serving port can be configured in ignite-ui-cli.json
via defaultPort
property.
Run ig build
to build the application into an output directory.
To build both apps, you need to install all packages and run npm run build
.
To start both app, you need to run ig start
.
To SSR build both apps, you need to run npm run build:ssr
.
To start the SSR built apps, you need to run npm run serve:ssr
.
If you want to get a guided experience through the available options, you can initialize the step by step mode that will help you to create and setup your new application, as well as update project previously created with the Ignite UI CLI. To start the guide, simply run the ig
command.
The ig list
lists all available templates. When you run the command within a project folder it will list all available templates, even if you have provided different ones.
Add a new component or template to the project passing component ID and choosing a name.
ig add <component/template> <component_name>
The ID matches either a component ("grid", "combo", etc) or a predefined template. Predefined templates can provide either multiple components or fulfilling a specific use case like "form-validation", "master-detail" and so on.
Run ig test
to execute the unit tests via Karma. Runs all .spec.ts
files under ./src
folder.
Run ig test --e2e
to execute the end-to-end tests via Protractor. Runs all .e2e-spec.ts
files under e2e
folder.
ig help
lists the available commands and provides a brief description of what they do.
To get more help on the IgniteUI CLI go check out the IgniteUI CLI Wiki.
You can run all of the supported Angular CLI commands. More details at Angular CLI.