newdevs:angular
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| newdevs:angular [2019/08/26 10:02] – [Compiling] tlittle | newdevs:angular [2023/01/19 14:26] (current) – [Compiling] tmccanna | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | **New Developers Working Group** | ||
| ====== Angular Tips ====== | ====== Angular Tips ====== | ||
| Line 6: | Line 7: | ||
| When you're actively working on a file or series of files, you will want to turn on Angular' | When you're actively working on a file or series of files, you will want to turn on Angular' | ||
| - | To turn on watch mode, you will need to navigate anywhere within the eg2 file structure. That would be anywhere within Open-ILS/ | + | To turn on watch mode, you will need to navigate anywhere within the eg2 file structure. That would be anywhere within Open-ILS/ |
| - | Then type the command | + | Then type the command |
| + | |||
| + | To stop running ng build, type **CTRL+C**. | ||
| + | |||
| + | ===== Typical Build Tasks ===== | ||
| + | |||
| + | After installation or making changes, typical build tasks are: | ||
| + | |||
| + | * ng build --test | ||
| + | * ng build --prod # compile in production mode | ||
| + | * ng lint # check for lint | ||
| + | * npm run test # run test cases | ||
| + | |||
| + | A common practice is to have a symbolic link from the source path to the installation path and run "ng build --watch" | ||
| + | |||
| + | |||
| + | ===== Angular Sandbox - Components ===== | ||
| + | |||
| + | * File location: Open-ILS/ | ||
| + | * In browser: / | ||
newdevs/angular.1566828166.txt.gz · Last modified: 2022/02/10 13:34 (external edit)