You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README-RU.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ providers: [
79
79
```
80
80
для работы с REQUEST и RESPONSE через DI - это необходимо для реализации UniversalStorage при работе с cookies.
81
81
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 зависимостями.
83
83
- для решения части проблем используется следущий код в `server.ts`
84
84
85
85
Решение проблем глобавльных переменных, в том числе `document is not defined` и `window is not defined`
-[x] modules import depending on the platform (`MockServerBrowserModule`)
21
21
-[x] execution of queries to api on the server `TransferHttp`
22
22
-[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*).
24
24
-[x] uses ngx-translate to support internationalization (i18n)
25
25
-[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)
-`export const AppRoutes = RouterModule.forRoot(routes, { initialNavigation: 'enabled' });`- so that there is no flashing of the page!
70
70
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
72
72
73
73
```ts
74
74
providers: [
@@ -82,7 +82,7 @@ providers: [
82
82
```
83
83
to work with REQUEST and RESPONSE via DI - this is necessary for implementing UniversalStorage when working with cookies.
84
84
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`
0 commit comments