ionic-team / ionic-team/ionic-cli

Ionic component styles not loading with Angular SSR

Đang mở
#5,096 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
2k
Fork
682
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

**Description:**
I'm using Angular 18 standalone application with Ionic 8 and enabled server side rendering. When I try to run SSR, the styles of ionic components are not loading. It just loads the plain html.

**Output:**
![image](https://github.com/user-attachments/assets/905c8246-f71b-4a19-8fee-97ad8d5498c4)

**My `ionic info`:**

```
Ionic:

Ionic CLI : 7.2.0 (C:\Users\ssendrayan\AppData\Roaming\nvm\v20.15.0\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 8.3.2
@angular-devkit/build-angular : 18.2.7
@angular-devkit/schematics : 18.2.7
@angular/cli : 18.2.7
@ionic/angular-toolkit : 12.1.1

Capacitor:

Capacitor CLI : 6.1.0
@capacitor/android : 6.1.2
@capacitor/core : 6.1.0
@capacitor/ios : 6.1.2

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v20.15.0 (C:\Program Files\nodejs\node.exe)
npm : 10.7.0
OS : Windows 10
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.