Skip to content

luiscla27/igniteui-angular-samples

 
 

Repository files navigation

Build Status

Ignite UI for Angular - Samples

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.

Setup

To setup the project run:

npm install

Build

To build the project run:

npm run build

This will produce an AOT build and live editing samples supporting both Sass and CSS.

Dev Server

To start the dev server run:

npm run start

To start the dev server with specific live editing samples style syntax run:

  • for Sass
npm run start:styles sass
  • for CSS
npm run start:styles css

Live Editing Watcher

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:

npm run start:watch-live-editing

If you want to have a specific live editing samples style syntax use:

  • for Sass
npm run start:styles:watch-live-editing sass
  • for CSS
npm run start:styles:watch-live-editing css

Generate Live Editing JSON files

To generate only the live editing samples files (e.g. "/src/assets/samples/avatar-sample-3.json") run:

npm run generate-live-editing

For specifix live editing style syntax run:

  • for Sass
npm run generate-live-editing -- --styles sass
  • for CSS
npm run generate-live-editing -- --styles css

Running with the DocFX project

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 86.0%
  • HTML 10.1%
  • CSS 3.8%
  • JavaScript 0.1%