如何使用 Ionic Framework 进行 Web App 开发? [英] How to use Ionic Framework for Web App Development?

查看:17
本文介绍了如何使用 Ionic Framework 进行 Web App 开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 ionic 框架用于常规 Web 应用程序而不是将其包装在 Cordova 中?

Is it possible to use ionic frameowork for regular Web Applications rather than wrapping it in Cordova?

推荐答案

如果您包含 www/lib/的组件,这是可能的 - 此文件夹包含 ionic(离子框架 + angularjs)的核心,您可以从那里.

This is possible if you include the components of www/lib/ - This folder contains the core of ionic(the ionic framework + angularjs) and you can proceed from there.

然而,重要的是要注意 ionic 是建立在 angularjs 之上的,特别是考虑到移动.为了在 Web 应用开发中获得更好的结果,您应该考虑使用核心 angularjs(用于功能)和 bootstrap3(用于 UI).

However it's important to note that ionic was built on top of angularjs, specifically with mobile in mind. To get better results for web app development, you should consider using core angularjs(for functionality) and bootstrap3 (for UI).

这篇关于如何使用 Ionic Framework 进行 Web App 开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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