Dart模板在新的Dart项目中看不到

时间:2015-06-27 13:14:35

标签: dart webstorm

我正在尝试将Webstorm用于我的Dart项目,因为建议使用它。我安装了它并指向Dart sdk和dartium路径。在创建一个新的Dart项目时,我只看到Dart Web App和Dart Command Line App。没有聚合物模板或任何其他模板。我该怎么做才能看到这些模板。

DART OFFERINGS的相关版本:

Dart 1.11.0(ref 65704b3)DEV(SDK) Dart 1.11.0(ref 65704b3)(STABLE)DARTIUM

编辑1(与Gunter的第一评论有关)

我删除并尝试重新安装舞台,但我收到以下错误

Appointment

多次尝试只会导致相同的错误。

我做了一个pub缓存修复,但结果是一样的。

1 个答案:

答案 0 :(得分:-1)

Stagehand提供以下模板;聚合物不是其中之一。

$ stagehand
Stagehand will generate the given application type into the current directory.

usage: stagehand <generator-name>
    --[no-]analytics    Opt out of anonymous usage and crash reporting.
-h, --help              Help!
    --version           Display the version for stagehand.
    --author            The author name to use for file headers.
                        (defaults to "<your name>")

Available generators:
  console-full   - A command-line application sample.
  package-simple - A starting point for Dart libraries or applications.
  server-shelf   - A web server built using the shelf package.
  web-angular    - A web app with material design components.
  web-simple     - A web app that uses only core Dart libraries.
  web-stagexl    - A starting point for 2D animation and games.
相关问题