Can Ionic be used for on desktop computers (as a web app)?

六眼飞鱼酱① 提交于 2019-12-12 02:13:21

问题


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

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).

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

Thanks a lot for the help!


回答1:


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.

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.



来源:https://stackoverflow.com/questions/42738672/can-ionic-be-used-for-on-desktop-computers-as-a-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!