【发布时间】:2012-09-03 01:38:25
【问题描述】:
我无法使用 pub 包语法导入文件,如下所示:
#import("package:unittest/unittest.dart");
我收到以下编译时错误:
找不到引用的源:package:unittest/unittest.dart
复制步骤: 1) 为 windows https://gsdview.appspot.com/dart-editor-archive-integration/latest/darteditor-win32-64.zip 安装了以下 Dart 编辑器。 2) 获取一些使用 pub 的项目。 3)发布安装//工作 4) 在 dart 编辑器中打开项目
我看到很多人都在使用它,所以我敢打赌我做错了什么。
【问题讨论】: