Skip to content
Alexander M edited this page Feb 12, 2018 · 12 revisions

Ignite UI CLI

Overview

The Ignite UI CLI is a tool to initialize, develop, scaffold and maintain applications in a wide variety of frameworks. It provides you with predefined templates for Ignite UI for JavaScript and Ignite UI for Angular controls. Ignite UI CLI will give you a quick-start for your next project even if you are a newcomer to the Ignite UI products and to the target frameworks.
You can create projects and add Ignite UI for JavaScript controls in jQuery, Angular or React, executing the very same commands.
Using the Ignite UI CLI, you can also get advantage of the Ignite UI for Angular controls and you can implement them in your Angular 5 applications.

Getting Started

To install the Ignite UI CLI:

npm install -g igniteui-cli

To get a guided experience through the available options, simply run:

ig

If you prefer to provide the commands for generating an Ignite UI project, adding a new component, building and serving the project by yourself, you can use the following:

ig new <project name> --framework=<framework> --type=<proj-type> --theme=<theme>
cd <project name>
ig add <component/template> <component_name>
ig build
ig start

For jQuery projects, navigate to http://localhost:3000/ . The app will automatically reload if you change any of the source files.
Note: For Angular projects you need to navigate to http://localhost:3001/ and for React - http://localhost:3002/

Available Commands