【发布时间】:2019-09-15 14:58:21
【问题描述】:
我已经安装了 preact-cli@2.2.1 和
npm install -g preact-cli
工作正常。现在我想在不更改旧版本的情况下使用 preact-cli@3.0.0。我试过了:
md pwa10
cd pwa10
npm install preact-cli@3.0.0-rc.4
看起来不错。那么:
preact info
显示版本 2.2.1,而不是预期的 3.0.0。如何使用新版本?
【问题讨论】: