使用 angular 包时,我无法使用模板包。否则我收到此错误:
While determining active plugins:
error: conflict: two packages included in the app (angular-templates
and templating) are both trying to handle *.html
While determining active plugins:
error: conflict: two packages included in the app (angular-templates
and templating) are both trying to handle *.html
While determining active plugins:
error: conflict: two packages included in the app (angular-templates
and templating) are both trying to handle *.html
没有模板我不能使用基本的模板形式:
Template.layout.onCreated(function () {
});
因为我收到此错误:
Uncaught ReferenceError: Template is not defined
如何在流星应用中使用模板和角度?
答案 0 :(得分:0)
使用angular-meteor包时,您无法使用Blaze模板。
查看此链接了解详情: http://www.angular-meteor.com/tutorials/socially/angular1/bootstrapping
您必须使用以下命令删除blaze模板(Meteor的默认UI包):
$ meteor remove blaze-html-templates