IgniteUI / igniteui-angular-samples

Ignite UI for Angular demos for all available components and features
https://bit.ly/2L19rhp
36 stars 25 forks source link

Not able to run angular samples #2253

Open Aleksandyr opened 3 years ago

Aleksandyr commented 3 years ago

Description

Not able to run angular samples with simple npm run start command

Assumptions

It may lead to a massive load time because of the enormous amount of defined modules.

Steps to reproduce

  1. Navigate to igniteui-angular-samples repo
  2. try to execute npm run start
  3. The execute process hangs at some point

Result

The samples are not run

Expected result

The samples should be run locally

HristoP96 commented 3 years ago

The problem comes from the big volume of components that we have in the projects.

A solution for this problem will be a process that will load the sample application:

For example

npm run start --modules=data-entries, lists --components=grid--grid-sorting, tree-grid--grid-sorting

And this must load the sample browser with the components defined in the data-entries and lists modules, the grid sorting compoent and the tree grids sorting component