账户录入的流星角 [英] accounts-entry for Angular in Meteor
问题描述
占入境
包工程使用火焰和流星对于具有替代接口下拉框为登录/注册表单时好。
accounts-entry
package works well when using Blaze and Meteor for having an alternative interface to the dropdown boxes for the login/signup forms.
如何才能实现与流星采用了棱角分明的时候使用的网页,而不是下拉框的相同的风格?
How can we achieve the same style of using pages instead of dropdown boxes when using Angular with Meteor?
推荐答案
如果您要使用现有的火焰包裹和模板的角度流星项目中,你将不得不使用的角带,大火包,而不是常规的角包。
这是因为流星的插件系统目前让你使用每个文件类型有一个插件。
所以与角
包,我们有一个处理的.html
文件的插件,这意味着,大火HTML模板将碰撞接着就,随即。
在角带,大火
包定义编译 .ng.html
文件角一个插件,然后你可以添加在杀出-HTML模板
包编译正 HTML
文件与Blaze和使用任何你想要的包。
If you want to use existing Blaze packages and templates inside an Angular Meteor project, you will have to use the angular-with-blaze package instead of the regular angular package.
That is because Meteor plugin system currently let you use one plugin per file type.
So with the angular
package, we have a plugin that handles .html
files and that means that Blaze html template will collide with that.
The angular-with-blaze
package defines a plugin that compiles .ng.html
files to Angular and then you can add the blaze-html-templates
package to compile regular html
files with Blaze and use any package you want.
如果你想包括 .ng.html
文件中大火的模板,那么你应该使用的 urigo:角大火模板包,它可以让你有内部角模板大火模板与角指令
If you want to include a Blaze template inside a .ng.html
file, then you should use the urigo:angular-blaze-template package that let's you include Blaze templates inside Angular templates with an Angular directive.
这篇关于账户录入的流星角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!