Skip to content

Commit 403d25f

Browse files
committed
update readme
1 parent 00411a6 commit 403d25f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README-RU.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ providers: [
7979
```
8080
для работы с REQUEST и RESPONSE через DI - это необходимо для реализации UniversalStorage при работе с cookies.
8181

82-
- webpack.config.js прописан исключительно для сборки файла server.ts в server.js, так как angular-cliт имеет [баг](https://github.com/angular/angular-cli/issues/7200) для работы с 3d зависимостями.
82+
- webpack.config.js прописан исключительно для сборки файла server.ts в server.js, так как angular-cli имеет [баг](https://github.com/angular/angular-cli/issues/7200) для работы с 3d зависимостями.
8383
- для решения части проблем используется следущий код в `server.ts`
8484

8585
Решение проблем глобавльных переменных, в том числе `document is not defined` и `window is not defined`

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66

77
Repository with Angular CLI and Angular Universal
88

9-
- public chat https://t.me/angular_universal_en
9+
- public chat https://t.me/angular_universal_ru
1010

1111
- http://master-ssr.gorniv.com/ - server-side rendering of the master
1212

1313
- http://master-csr.gorniv.com/ - client rendering master
1414

1515
# Plans:
1616
- [x] Angular 5
17-
- [x] `document is not defined` and` window is not defined` - [here](./defined.md)
18-
- [x] [Angular Material2] (https://material.angular.io/) ** UI components ** - [individual branch](https://github.com/Angular-RU/angular-universal-starter/tree/material2)
19-
- [x] [Primeng] (https://www.primefaces.org/primeng/) ** UI components ** - [individual branch] (https://github.com/Angular-RU/angular-universal-starter/tree/primeng)
17+
- [x] `document is not defined` and `window is not defined` - [here](./defined.md)
18+
- [x] [Angular Material2](https://material.angular.io/) **UI components** - [individual branch](https://github.com/Angular-RU/angular-universal-starter/tree/material2)
19+
- [x] [Primeng](https://www.primefaces.org/primeng/) **UI components** - [individual branch] (https://github.com/Angular-RU/angular-universal-starter/tree/primeng)
2020
- [x] modules import depending on the platform (`MockServerBrowserModule`)
2121
- [x] execution of queries to api on the server `TransferHttp`
2222
- [x] work with cookies on the server `UniversalStorage`
23-
- [x] Uses ** [ngx-meta](https://github.com/fulls1z3/ngx-meta) ** for SEO (*title, meta tags, and Open Graph tags for social sharing*).
23+
- [x] Uses **[ngx-meta](https://github.com/fulls1z3/ngx-meta)** for SEO (*title, meta tags, and Open Graph tags for social sharing*).
2424
- [x] uses ngx-translate to support internationalization (i18n)
2525
- [x] uses ORIGIN_URL - for absolute queries
26-
- [] @ angular/service-worker
27-
- [] Ionic - it is necessary to compile the web version while there are problems [separate branch] (https://github.com/Angular-RU/angular-universal-starter/tree/ionic)
26+
- [] @angular/service-worker
27+
- [] Ionic - it is necessary to compile the web version while there are problems [separate branch](https://github.com/Angular-RU/angular-universal-starter/tree/ionic)
2828

2929
## How to start
3030
- `yarn` or `npm install`
@@ -68,7 +68,7 @@ this.http.get('https://reqres.in/api/users?delay=3').subscribe(result => {
6868
```
6969
- `export const AppRoutes = RouterModule.forRoot(routes, { initialNavigation: 'enabled' });`- so that there is no flashing of the page!
7070

71-
- to work with cookies, it is written `AppStorage`, which with DI allows you to give different implementations for the server and the browser. See `server.storage.ts` and` browser.storage.ts` for implementations. In `server.ts` there is
71+
- to work with cookies, it is written `AppStorage`, which with DI allows you to give different implementations for the server and the browser. See `server.storage.ts` and `browser.storage.ts` for implementations. In `server.ts` there is
7272

7373
```ts
7474
providers: [
@@ -82,7 +82,7 @@ providers: [
8282
```
8383
to work with REQUEST and RESPONSE via DI - this is necessary for implementing UniversalStorage when working with cookies.
8484

85-
- webpack.config.js is written exclusively for building server.ts file in server.js, since angular-clit has [bug] (https: //github.com / angular / angular-cli / issues / 7200) to work with 3d dependencies. - To solve some problems, use the following code in `server.ts` Solving the problems of global variables, including` document is not defined` and `window is not defined`
85+
- `webpack.config.js` is written exclusively for building server.ts file in server.js, since angular-cli has [bug](https: //github.com / angular/angular-cli/issues/7200) to work with 3d dependencies. - To solve some problems, use the following code in `server.ts` Solving the problems of global variables, including `document is not defined` and `window is not defined`
8686
```ts
8787
const domino = require('domino');
8888
const fs = require('fs');

0 commit comments

Comments
 (0)