【发布时间】:2013-08-09 04:44:40
【问题描述】:
如何设置 dartium 启动,以使应用程序在 localhost:3030 而不是默认的 localhost:3030/path/file 中可用?
【问题讨论】:
标签: dart dart-editor dart-pub
如何设置 dartium 启动,以使应用程序在 localhost:3030 而不是默认的 localhost:3030/path/file 中可用?
【问题讨论】:
标签: dart dart-editor dart-pub
这仍然不可能,但有时可能会添加到pub serve。
AFAIK DartEditor 将来应该pub serve 而不是内置的网络服务器。
另见
我找不到 AFAIR Seth Ladd 发布请求 pub serve 应该提供在根目录中为应用程序提供服务的选项的帖子。
应该可以通过自定义服务器为 Dart 应用程序提供服务并使用 DartEditor 调试器。
最近有一些错误,但我认为现在应该可以了。我不知道是否支持为此创建启动配置 - 但我认为是。
【讨论】: