使用 Meteor.js 的桌面应用程序 [英] Desktop applications with Meteor.js

查看:17
本文介绍了使用 Meteor.js 的桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现在 HTMLCSSJavaScript 中创建桌面应用程序的选项是:

The options I've found for creating desktop applications in HTML, CSS, and JavaScript are:

  1. Electron(原 Atom-Shell)
  2. NW.js(以前称为 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:

  1. node-webkit 上的 Meteor 排行榜应用
  2. 使用 node-webkit 的 Demeteorizer
  3. 我如何开始一个启动 node-webkit 之前的 Meteor 实例?

这家伙实际上让它运行了,但没有说如何:https://stackoverflow.com/questions/25508737/iron-router-routing-fails-on-reload-in-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?

推荐答案

如果你把代码从meteor-desktop-app 放到Electron Starter,您将免费获得 Windows + Mac + Linux,以及绝对可以用于 Real Apps 的构建系统.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆