ionic-team / ionic-team/ionic-framework
bug: angular, ssr does not detect contentId property
- Ngôn ngữ chính
- TypeScript
- Star
- 52.7k
- Fork
- 13.3k
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 51
Mô tả
# Bug Report
In angular SSR i am having this error:

**Ionic version:**
Ionic:
Ionic CLI : 6.10.1 (C:\Users\Hugo\AppData\Roaming\nvm\v12.18.0\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.2.3
@angular-devkit/build-angular : 0.1000.1
@angular-devkit/schematics : 9.1.10
@angular/cli : 10.0.1
@ionic/angular-toolkit : 2.2.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v12.18.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.4
OS : Windows 10
-----------------------------------------------------------
Angular CLI: 10.0.1
Node: 12.18.0
OS: win32 x64
Angular: 10.0.2
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router
Ivy Workspace:
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.1
@angular-devkit/build-angular 0.1000.1
@angular-devkit/build-optimizer 0.1000.1
@angular-devkit/build-webpack 0.1000.1
@angular-devkit/core 9.1.10
@angular-devkit/schematics 9.1.10
@angular/cli 10.0.1
@angular/fire 6.0.2
@ngtools/webpack 10.0.1
@nguniversal/builders 10.0.1
@nguniversal/common 10.0.1
@nguniversal/express-engine 10.0.1
@schematics/angular 9.1.10
@schematics/update 0.1000.1
rxjs 6.6.0
typescript 3.9.6
webpack 4.43.0
[ ] **4.x**
[x] **5.x**
**Current behavior:**
I create a new application with ionic cli and do not change anything on app.component.html.
If i use attribute instead of property it works correctly. It works also with "ng serve".
This image is SSR source code with "content-id" instead of "contentId":

**Expected behavior:**
Use contentId and content-id,
**Steps to reproduce:**
https://github.com/Hugoer/ionMenuError
```
npm i
npm run dev:ssr
```
i hope it helps, if you need more information, please tell me :)
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.