newdevs:angular
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
newdevs:angular [2019/08/22 12:37] – created tlittle | newdevs:angular [2023/01/19 14:26] (current) – [Compiling] tmccanna | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Angular ====== | + | **New Developers Working Group** |
+ | ====== Angular | ||
+ | |||
+ | ===== Compiling ===== | ||
+ | Working with Angular development is a little different than working in other areas of the webclient. Normally you might make a change to a file, clear your cache, refresh, and instantly see your change. Angular is different; it also includes an additional step called compiling. | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | 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.1566491822.txt.gz · Last modified: 2022/02/10 13:34 (external edit)