我使用的是角度2.0.0-beta.0。以下代码是正确的但当我在角度2.0.0-beta-17中使用相同的代码时,它显示Errors.Error图像是在这个问题的最后请指导我。我将非常感谢你。
<lib dir=".../carrot2-workbench-3.12.0/plugins/" regex=".*\.jar" />
答案 0 :(得分:0)
从
导入Location
import {Location} from 'angular2/platform/common';
另见Location and HashLocationStrategy stopped working in beta.16