ionic-team / ionic-team/ionic-cli

Capacitor is now forcibly installed on starter projects

未关闭
#4,750 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

**Description:**
There used to be a prompt to add capacitor to a new project created using the starter templates, but that option no longer is shown and it's added by default to all projects whether you want it or not. For web based projects, Capacitor isn't needed. Sure, it's easy enough to remove it afterwards, but a bit of a pain and all the dependencies are installed too, so really have to delete node_modules and reinstall from scratch to fully remove it. Same behavior using the new wizard on the web too.

**Steps to Reproduce:**
Run ionic start, pick Angular, pick and template, and capacitor is added without any prompt

**My `ionic info`:**
```
Ionic:

Ionic CLI : 6.17.0

Utility:

cordova-res : 0.15.3
native-run (update available: 1.4.0) : 1.3.0

System:

NodeJS : v14.17.4
npm : 6.14.14
OS : macOS Big Sur

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。