The browser folder contains an Angular app for browsing 500+ examples of Ignite UI for Angular components.
NOTE: You should use master branch of this repository if you want to run samples on your computer. Use the vnext branch only when you want to contribute new samples to this repository.
Follow these instructions to run and browse all samples:
-
open VS Code as Administrator
-
open the folder that contains this repository, e.g.
C:\GitHub\igniteui-angular-examples\
-
select View - Terminal menu item
-
type
npm install --legacy-peer-deps
command in terminal window
This will install required packages and Ignite UI for Angular packages
- type
npm run start
command in terminal window to start this application locally
Note this application copies all individually sample projects from ./samples to ./browser/src folder when it is about to start running. Therefore, any changes to ./browser/src will be overridden on consecutive run of the application.
Wait until the build is completed and then open http://localhost:4200 in your browser. You should see a website with navigation menu for browning all samples in this repository.