Skip to content

Commit be0acd0

Browse files
committed
up readme preboot
1 parent 9aff50b commit be0acd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@
5757
## Особенности(Важно)
5858
- модуль для TransferHttp использует `import { TransferState } from '@angular/platform-browser';` и необходим для реализации запроса rest api на сервере и остутствия повторного запроса второй раз. Смотрите `home.component.ts` (задержка 3с)
5959

60+
- для работы preboot в `tsconfig.json` добавить
61+
```json
62+
"include": [
63+
"src/**/*",
64+
"node_modules/preboot/browser.ts"
65+
],
66+
```
67+
6068
```ts
6169
this.http.get('https://reqres.in/api/users?delay=3').subscribe(result => {
6270
this.result = result;

0 commit comments

Comments
 (0)