使用Meteor.js的桌面应用程序 [英] Desktop applications with Meteor.js
问题描述
我找到的用于在HTML
,CSS
和JavaScript
中创建桌面应用程序的选项是:
The options I've found for creating desktop applications in HTML
, CSS
, and JavaScript
are:
- Electron (formerly Atom-Shell)
- NW.js (formerly Node-Webkit)
但是,似乎没有明确的实现将meteor.js
与这些结合使用.
However, there doesn't seem to be any clear implementation for using meteor.js
with these.
我看到有人问这个问题,但是没有实现.甚至无法从答案中找出我应该尝试整合的内容:
I've seen some other questions of people asking this, but no implementation. Can't even figure out by the answers what I should be trying to put together:
- Meteor leaderboard app on node-webkit
- Demeteorizer with node-webkit
- How can I start a Meteor instance before launching a node-webkit?
This guys actually got it running but doesn't say how: https://stackoverflow.com/questions/25508737/iron-router-routing-fails-on-reload-in-node-webkit
在此处提出的想法很有趣-完全从网络加载桌面应用程序.但是,我希望允许我的用户脱机使用该应用程序.
The idea proposed here is interesting—loading the desktop application completely from the web. However, I would like to allow my users to use the application offline.
有一个实际的实现, meteor-desktop-app ,但是它具有对Windows没有明确的支持.但是,atom-shell
确实与NW.js
一样支持Windows.
There is an actual implementation, meteor-desktop-app, but it has no clear support for Windows. However, the atom-shell
does support Windows just as NW.js
does.
有没有人想出一种允许meteor.js
作为桌面应用程序运行的实现?
Has anyone figured out an implementation to allow meteor.js
to operate as a desktop application?
推荐答案
If you drop the code from meteor-desktop-app into Electron Starter, you'll get Windows + Mac + Linux for free, as well as a build system you can definitely use for Real Apps.
这篇关于使用Meteor.js的桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!