整合Meteorjs,角度和引导的最佳方法 [英] Best way to integrate Meteorjs, angular and Bootstrap
问题描述
我在寻找整合Meteor.js与Angular.js和Bootstrap.js的最快方式。
我见过Urigo:角,但似乎没有与引导快速集成。
关于它的任何建议?
谢谢
纽约
I'm looking for the quickest way to integrate Meteor.js with Angular.js and Bootstrap.js. I've seen Urigo:Angular but seems there is no quick integration with Bootstrap. Any advise about it? Thank you ny
推荐答案
如果你只是使用自举的CSS,Ethaan的答案是一个完整的。
If you are just using the Bootstrap's CSS, Ethaan's answer is a complete one.
但是,如果你也想用JS,你也应该使用类似 UI自举库一个>或 AngularStrap
But if you want to use also the JS, you should also use libraries like ui-bootstrap or AngularStrap
另外这里,角流星是不可知的,你可以完全像你会与任何其他应用程序AngularJS。同时添加
Also here, angular-meteor is agnostic to those and you can add both exactly like you would with any other AngularJS application.
您必须包括那些库到您的流星申请后3个选项:
You have 3 options of including those libraries into your Meteor application:
- Add it with the meteor-bower package
- Create a Meteor package that includes those files
- Pull request those libraries to publish Meteor packages themselves - look at Davdv's talk about it here
这篇关于整合Meteorjs,角度和引导的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!