Ionic可用于台式计算机(作为Web应用程序)吗? [英] Can Ionic be used for on desktop computers (as a web app)?

查看:125
本文介绍了Ionic可用于台式计算机(作为Web应用程序)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对此事感到非常困惑。 Ionic只是在一个Web容器中运行应用程序,如果我没有弄错的话。

I'm very confused about this matter. Ionic just runs the application in a kind of web container if I'm not mistaken.

当我使用ionic serve命令时,我也可以在浏览器中使用它我的台式电脑,它运作良好。那么为什么有人声称它不适用于台式电脑?

When I used the ionic serve command, I could also just use it in the browser of my desktop computer and it worked well. So why are there claims that it doesn't work on a desktop PC?

重要的是我现在所做的也适用于台式电脑,这就是为什么我问。

It's important that what I'm making right now also works for desktop PCs, that's why I'm asking.

它可以从网络浏览器运行,这对我来说没什么问题(不需要电子把它变成桌面应用程序)。

It can be run from a web browser, that's fine for me (no need for electron to make it into a desktop app).

如果没有,是否有一个类似于Ionic的混合跨平台框架也可以在桌面上运行?

If it doesn't, is there a hybrid cross-platform framework similar to Ionic that also runs on desktops?

谢谢很多帮助!

推荐答案

根据离子文档,该框架最初是针对移动设备的,但是,由于该框架基于桌面的Web应用程序的广泛使用,它确实支持桌面在某种程度上借助本机插件,只要需要利用本机组件。

As per the ionic documentation, the framework was initially intended for mobile, however, due to the widespread use of the framework for desktop based web applications, it does support the desktop to a certain extent with the help of native plug-ins whenever native components need to be leveraged.

但是,如果您需要开发桌面使用Web开发技术堆栈(HTML,JS,CSS)的顶级应用程序,最好研究 electron 本地反应& App.JS 。实际上有很多框架可以实现这一目标,但这些是我个人的最爱。

However, if your need is to develop desktop applications using the web development technology stack (HTML, JS, CSS), it's best to look into technologies like electron, react native & App.JS. There are actually quite a few frameworks for achieving this but these are a few of my personal favourites.

这篇关于Ionic可用于台式计算机(作为Web应用程序)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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