2016-04-15 111 views
1

当使用包我不能使用模板包。否则,我得到这个错误:模板与流星和角

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 

如何使用模板和流星应用中的角

回答