我使用的是Dart SDK 1.4.2和聚合物0.10.1 + 1
我有点不确定为什么我得到以下控制台输出
突破异常:ReferenceError:未定义PolymerExpressions
调试器引用polymer.js并指向下面的polymer.js行:
Polymer={},"function"==typeof window.Polymer&&(Polymer={}),...
这是入口点代码 - 它包含在抛出异常的index.html中。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ePIMSS</title>
<link rel="stylesheet" href="./css/website.css">
<link rel="import" href="packages/polymer/polymer.html">
<link rel='import' href='packages/epimss_polymer/components/menu/menu-form.html'>
<script type="application/dart">
export "package:polymer/init.dart";
</script>
<script src="packages/browser/dart.js"></script>
</head>
<body>
<!--<div><phone-row-form></phone-row-form></div> -->
<div><menu-form></menu-form></div>
</body>
我的包结构如下图所示