Ionic way to explore https:https://cdn.v2ex.com/navatar/e97e/e205/844_normal.png?m=1579847461 https:https://cdn.v2ex.com/navatar/e97e/e205/844_large.png?m=1579847461 2023-05-30T15:05:55Z Copyright © 2010-2018, V2EX 有没有熟悉 Ionic 的 tag:www.v2ex.com,2023-05-30:/t/944139 2023-05-30T03:30:36Z 2023-05-30T15:05:55Z vinciarts member/vinciarts 最近在考虑是不是 Android 和 iOS 直接用 Ionic 开发,提高效率。 用过的老铁有经验可以分享吗?各平台单独开发或者用 Uiapp/Flutter 会不会更好?

]]>
cordova/ionic App 实现微前端,求个最佳实践 tag:www.v2ex.com,2020-03-07:/t/650768 2020-03-07T12:19:53Z 2020-04-05T13:14:59Z coloz member/coloz 这几天了解了下 qiankun\single-spa\icestark\mooa\ngx-planet
但感觉都是为了解决 web 端开发而设计的,有更适合 app 的方案么?

目前 app 使用 iframe+postmessage 实现微前端,用到时没问题,但想寻求下更好的解决方案,求大佬们分享下经验。

]]>
有谁知道使用 ionic 框架的 APP 吗? tag:www.v2ex.com,2017-04-06:/t/352864 2017-04-06T02:36:29Z 2017-07-23T04:25:41Z Wilon member/Wilon RT ,最好是使用 16 年之后的 ionic 框架,借个参考,看看 ionic 的原生体验怎么样

]]>
ionic 2 如何继承一个已经依赖注入 service 的基类? tag:www.v2ex.com,2017-02-24:/t/342928 2017-02-24T07:15:00Z 2017-02-26T00:58:05Z gulullu member/gulullu 基类:

import { LoginPage } from './../login/login/login'; import { AccountData } from './../../storages/account_data'; import { Component, Injectable } from '@angular/core'; import { NavController, NavParams, Platform, ViewController } from 'ionic-angular'; /* Generated class for the Base page. See http://ionicframework.com/docs/v2/components/#navigation for more info on Ionic pages and navigation. */ @Component({ selector: 'page-base', templateUrl: 'base.html' }) export abstract class BasePage { needLogin = false; constructor(protected accountData: AccountData, protected nav: NavController) { } push(page: any) { this.accountData.hasLoggedIn().subscribe(hasLoggedIn => { if (hasLoggedIn) { this.nav.push(page); } else { if (page.needLogin) { this.nav.push(LoginPage); } else { this.nav.push(page) } } }); } pop() { this.nav.pop(); } setRoot(page: any) { this.nav.setRoot(page); } } 

继承该基类的:

import { AccountData } from './../../storages/account_data'; import { BasePage } from './../base/base'; import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; /* Generated class for the Discover page. See http://ionicframework.com/docs/v2/components/#navigation for more info on Ionic pages and navigation. */ @Component({ selector: 'page-discover', templateUrl: 'discover.html' }) export class DiscoverPage extends BasePage { constructor(protected accountData: AccountData, protected navCtrl: NavController, ) { super(accountData, navCtrl); } } 

运行ionic serve后报错: Uncaught TypeError: Object prototype may only be an Object or null: undefined at setPrototypeOf ()

但是如果父类的构造方法为空的话一切正常,求解。

]]>
ionic2.0@beta 版本文档 -转摘 中文教程哦 tag:www.v2ex.com,2016-10-04:/t/310518 2016-10-04T07:22:48Z 2016-10-04T07:26:32Z qweweretrt515 member/qweweretrt515 https://github.com/XueRainey/ionic2



感谢这个作者的付出


下面是他的博客 http://rainey.space/2016/04/06/Ionic2_Chinese_Document/ ]]> 刚刚去 Ionic Framework 官方的 Showcase 试了一堆 Android app,感觉现在 Hybrid App 在 Android 上都好流畅,跟 3 年前参加比赛时相比感觉提升太多太多了 tag:www.v2ex.com,2016-07-17:/t/293037 2016-07-17T08:41:06Z 2016-07-17T18:14:41Z WildCat member/WildCat
还记得当时用 Ionic 写的比赛 app ,地图在 Android 上卡的不行,现在完全没有那种感觉了。

突然觉得 react native 优势不是特别大了,毕竟前端更自由。 ]]>
[求助] Ionic 安装不能: Error: EACCES: permission denied, uv_cwd tag:www.v2ex.com,2016-02-20:/t/257911 2016-02-20T13:22:14Z 2016-02-20T17:19:14Z elviscai member/elviscai OS X 10.11.3
node 4.3.1
npm 2.14.12

$ sudo npm install -g ionic /usr/local/bin/ionic -> /usr/local/lib/node_modules/ionic/bin/ionic > node-sass@3.4.2 install /usr/local/lib/node_modules/ionic/node_modules/node-sass > node scripts/install.js shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied path.js:424 var path = (i >= 0) ? arguments[i] : process.cwd(); ^ Error: EACCES: permission denied, uv_cwd at Error (native) at Object.posix.resolve (path.js:424:50) at startup (node.js:91:32) at node.js:962:3 npm ERR! Darwin 15.3.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ionic" npm ERR! node v4.3.1 npm ERR! npm v2.14.12 npm ERR! code ELIFECYCLE npm ERR! node-sass@3.4.2 install: `node scripts/install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@3.4.2 install script 'node scripts/install.js'. npm ERR! This is most likely a problem with the node-sass package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node scripts/install.js npm ERR! You can get their info via: npm ERR! npm owner ls node-sass npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/elviscai/npm-debug.log 
]]>
ionic 使用百度地图 App 显示空白 tag:www.v2ex.com,2015-07-24:/t/208171 2015-07-24T15:40:24Z 2015-07-24T16:37:24Z lizheming member/lizheming 哪位大神能发一个 ionic 利用百度地图 API 或者高德地图 API 定位获取当前位置的例子 tag:www.v2ex.com,2015-07-05:/t/203410 2015-07-05T02:35:45Z 2015-07-05T03:16:38Z xiaozhao member/xiaozhao Ionic+angularjs 传参数问题请教 tag:www.v2ex.com,2015-06-25:/t/201169 2015-06-25T10:50:17Z 2015-06-25T10:47:17Z likai member/likai
现在要从首页文章列表页传参数到第二个页面。第二个页面根据首页传过来的文章ID参数查询数据库并显示文章内容,
配置:
$urlRouterProvider.otherwise("/news/0");
.state('news', {
url: "/news/:id",
templateUrl: "templates/news.html",
controller: 'NewsController'
})
.state('shownews', {
url: "/news/show/:id",
templateUrl: "templates/news-show.html",
controller: 'NewsController'
})
factory.NewsSrv下:
show = function (id) {
return ApiSrv.req("news.public.News.itemit", {id: id});//从远程取数据
}

angular.module.controller下

$scope.newsshow = NewsSrv.show($stateParams.id);

用a href从news页面传ID进shownews。
现在的问题是。NewsController怎么才能在传参数进入这个页面才开始?

现在我的是一加载第一个页面。请求了两次。第一次请求列表。第二次执行了$scope.newsshow, ]]>
能用 ionic 做手机站吗? tag:www.v2ex.com,2015-06-04:/t/196102 2015-06-04T07:56:45Z 2015-06-04T08:38:31Z colorsand member/colorsand ionic 如何从后台动态获取数据? tag:www.v2ex.com,2015-06-03:/t/195725 2015-06-03T02:51:17Z 2015-06-03T03:58:26Z colorsand member/colorsand 为什么 ionic 在浏览器和安卓上编译出的版本的布局不一样? tag:www.v2ex.com,2015-05-25:/t/193570 2015-05-25T06:50:20Z 2015-07-19T02:16:18Z kokdemo member/kokdemo Ionic 可以做到无视 CORS 吗 tag:www.v2ex.com,2015-05-07:/t/189223 2015-05-07T08:21:52Z 2015-05-12T18:01:58Z pandada8 member/pandada8 文档似乎说可以啊……然而我在我的 MIUI 上并没有试验成功……
顺便服务端不可控而且对源 IP 敏感……

]]>
这个节点下的一血,当然要由我拿下 tag:www.v2ex.com,2015-04-20:/t/185078 2015-04-20T15:18:29Z 2015-04-20T13:18:29Z DongHongfei member/DongHongfei 拿下一血,自然要来推广下我们的ionic 中文社区啦,嘎嘎~

你们是干啥的?

Ionicframework 一款免费的HTML5开源SDK,可以用来开发混合手机应用。

Ionichina 社区是全球最大的 Ionicframework 中文开源技术社区,致力于 Ionicframework 在中国的学习、推广、研究工作。

Ionichina 社区正在努力建设中,虽然我们还不牛×,但是请看我坚毅而纯洁的双眼,相信我们正在为了牛×而努力~

你们已经做了啥?

Ionichina 社区采用cnodejs社区开源的nodeclub框架搭建,并且已经得到了七牛的云存储和Ucloud的服务器、带宽赞助。

社区申请到了 Ionic 在中国地区组织者的身份,官方这篇博客里有介绍,其中提到 Ionic China就是本社区在维护。

Ionichina 社区街道办事处 (http://ionichina.com/)
敬上

]]>
ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86