meteor with mobile front-end UI framework [closed]

2019-03-07 18:14发布

Has anyone integrated meteor with mobile front-end frameworks?

In making mobile html5 apps look "more native" there are a number of CSS/front-end frameworks. eg:

and more. In comparison to plain Bootstrap, the main benefits are:

  • preloading content
  • smooth full-screen page navigation
  • mobile widgets with "native look" for ios/android

But these frameworks often have use their own MVC model, for example pre-loading content into offscreen DIVs and doing full-screen transitions. they often use an internal router or Pushstate which would conflict with Meteor/IronRouter. And ionic for example depends on angular...

Has anyone had success with this type of integration? Any leads appreciated.

8条回答
Animai°情兽
2楼-- · 2019-03-07 18:20

Foundation for Apps from Zurb is another option, but it's built on Angular so would have to be ported/hacked about in the same way the Ionic project was.

http://foundation.zurb.com/apps/

查看更多
聊天终结者
3楼-- · 2019-03-07 18:22

Ratchet is available as an atmosphere package. It does not include all the javascript parts of the framework but very handy nonetheless.

查看更多
够拽才男人
4楼-- · 2019-03-07 18:27

another new contender is Materialize which is a CSS/JS version of the material design elements, ie no angular required:

https://github.com/Dogfalo/materialize

here's a blog on some of the basics http://blog.differential.com/the-easy-way-to-add-material-design-to-your-meteor-app/

pros

  • Materialize seems to have a decent set of widgets, and nice animations.

cons

  • pure android look, don't expect any appstore feature love
  • no full-page transitions out of the box, like meteoric
查看更多
迷人小祖宗
5楼-- · 2019-03-07 18:27

From the general goal sense, the front end part of Meteor somewhat conflicts with Angularjs. However, nothing is impossible if you really want to make them together. To accommodate them together, you need to do some special tricks. This following post shared the experience to make them working together.

mrt:ionic is the package by integrating meteor and ionic together. But it does not support the latest meteor version. You'd better wait for some time for the update.

查看更多
地球回转人心会变
6楼-- · 2019-03-07 18:31

Bootcards is very good choice it's not meteor package yet .

Ratchet is lightweight but also good choice .

查看更多
Lonely孤独者°
7楼-- · 2019-03-07 18:36

Meteoric http://meteoric.github.io/ is a port of ionic, to remove the Angular stuff, and make some UI parts reactive. EDIT: not being updated now that angular is an option to jam into meteor itself.

related article: https://medium.com/space-camp/cross-platform-uis-for-mobile-meteor-apps-6f12b583b205

this does seem like a great solution for mobile, but won't help if you want one UI to be responsive across to desktop devices too. they have deliberately kept the grid simple and mobile focused.

查看更多
登录 后发表回答