【问题标题】:How do I set the context root for a dartium launch?如何为 dartium 启动设置上下文根?
【发布时间】:2013-08-09 04:44:40
【问题描述】:

如何设置 dartium 启动,以使应用程序在 localhost:3030 而不是默认的 localhost:3030/path/file 中可用?

【问题讨论】:

    标签: dart dart-editor dart-pub


    【解决方案1】:

    这仍然不可能,但有时可能会添加到pub serve
    AFAIK DartEditor 将来应该pub serve 而不是内置的网络服务器。

    另见

    我找不到 AFAIR Seth Ladd 发布请求 pub serve 应该提供在根目录中为应用程序提供服务的选项的帖子。

    应该可以通过自定义服务器为 Dart 应用程序提供服务并使用 DartEditor 调试器。
    最近有一些错误,但我认为现在应该可以了。我不知道是否支持为此创建启动配置 - 但我认为是。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-09-09
      • 2012-05-22
      • 1970-01-01
      • 1970-01-01
      • 2017-08-01
      相关资源
      最近更新 更多