ionic-team / ionic-team/ionic-cli

[Minor] Standalone pages should not import IonicModule

Open
#5,077 0 comments 2 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

**Description:**

Standalone pages should not import IonicModule and should import the standalone variant from '@ionic/angular/standalone'.

This leads to several bugs in the android version and possibly in the iOS version.

**Steps to Reproduce:**

ionic g page

**Output:**
A new standalone page with IonicModule

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.