ionic-team / ionic-team/ionic-cli
Make standalone import the default
- 主要語言
- TypeScript
- 星號
- 2k
- 分支
- 682
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Since Angular now defaults to standalone component, it only make sense for ionic imports to be standalone by default.
It gets tedious to type something like:
```ts
import { Config } from '@ionic/angular/standalone';
```
vs
```ts
import { Config } from '@ionic/angular/';
```
Make NgModule based apps use:
```ts
import { Config } from '@ionic/angular/ngmodule';
```
貢獻指南
研究方向
Start by tracing how the Ionic CLI exposes or generates Angular imports, then compare the standalone and NgModule entry points shown in the issue. No source file, test, or entry point is named in the payload, so identify the relevant import-resolution and project-generation code first. Done means standalone imports work by default while NgModule apps use the explicit @ionic/angular/ngmodule path, with tests covering both modes.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- angular, typescript
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100