This project is using Ignite UI for Angular components to demonstrate different scenarios related to the usage of each component. The project is tightly related to Ignite UI DocFX Site Builder. All samples are part of the official component topics from our website.
To setup the project run:
npm install
To build the project run:
npm run build
This will produce an AOT build and live editing samples supporting both Sass and CSS.
To start the dev server (including IE support) run:
npm run start
To start in modern browsers only, run:
npm run start:es6
Starting from Angular v8 the project will not be supported/start in IE due to the new default compilation target es2015.
To generate the live editing applications along with the dev server (including IE support) run:
npm run start:live-editing
To start in modern browsers only, run:
npm run start:live-editing:es6
Use this command to start the server with capability to regenerate live editing JSON files (e.g. "/src/assets/samples/avatar-sample-3.json"
) when a change related to the samples is made (including IE support):
npm run start:watch-live-editing
To start in modern browsers only, run:
npm run start:watch-live-editing:es6
To generate only the live editing samples files (e.g. "/src/assets/samples/avatar-sample-3.json"
) run:
npm run generate-live-editing
In order to combine the execution of both DocFX and Ignite UI Angular Samples projects, use npm run start
.
After starting both projects you will see the embed samples into the DocFX site builder, under localhost:port
hostname.