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

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

问题描述

我找到的用于在HTMLCSSJavaScript中创建桌面应用程序的选项是:

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

  1. 电子(以前称为Atom-Shell)
  2. NW.js(以前称为Node-Webkit)
  1. Electron (formerly Atom-Shell)
  2. 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:

  1. node-webkit上的流星排行榜应用
  2. 带有node-webkit的除尘器
  3. 如何启动在启动节点Webkit之前是流星实例吗?
  1. Meteor leaderboard app on node-webkit
  2. Demeteorizer with node-webkit
  3. 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?

推荐答案

如果将代码从meteor-desktop-app拖放到

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天全站免登陆