- 浏览: 2560259 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
ionic UI
1 Installation
Make Sure Installed nodeJS 4.x
> node --version
v4.2.2
> npm install -g cordova
> npm install -g ionic
> npm install -g ios-sim
Create the application
> ionic start smart-fisher tabs
Setup this project to use Sass: ionic setup sass
Develop in the browser with live reload: ionic serve
Add a platform (ios or Android): ionic platform add ios [android]
Build your app: ionic build <PLATFORM>
Simulate your app: ionic emulate <PLATFORM>
Run your app on a device: ionic run <PLATFORM>
Package an app using Ionic package service: ionic package <MODE> <PLATFORM>
For iOS
> ionic platform add ios
> ionic build ios
> ionic emulate ios
It is using iphone6 simulator and the window is small.
Check the emulator list
> os-sim showdevicetypes
iPhone-4s, 9.2
iPhone-5, 9.2
iPhone-5s, 9.2
iPad-2, 9.2
iPad-Retina, 9.2
iPad-Air, 9.2
iPhone-6, 9.2
iPhone-6-Plus, 9.2
iPhone-6s, 9.2
iPhone-6s-Plus, 9.2
iPad-Air-2, 9.2
iPad-Pro, 9.2
Apple-TV-1080p, tvOS 9.1
Apple-Watch-38mm, watchOS 2.1
Apple-Watch-42mm, watchOS 2.1
> ionic emulate ios --target="iPhone-6"
> vi /Users/carl/work/jobs/fishing-record/smart-fisher/platforms/ios/cordova/lib/run.js
The content in that file is as follow:
var validTargets = ['iPhone-4s', 'iPhone-5', 'iPhone-5s', 'iPhone-6-Plus', 'iPhone-6',
'iPad-2', 'iPad-Retina', 'iPad-Air', 'Resizable-iPhone', 'Resizable-iPad'];
And we can change the [window] —> [Scala] to adjust the size of the window
For Android
> ionic platform add android
> ionic build android
Create an image
> /Users/carl/Library/Android/sdk/tools/android avd
Or I am using Genymotion which is much and much faster.
I start the emulator myself and ionic will look genymotion as a real device.
> ionic run android
Start the webpage to develop
> ionic serve --lab
Visit this page
http://localhost:8100/ionic-lab
Or I can start from the sidemenu sample
> ionic start smart-fisher sidemenu
This document is really great
http://coenraets.org/blog/2014/10/ionic-tutorial-and-sample-application/
I will follow this document
http://ccoenraets.github.io/ionic-tutorial/install-ionic.html
References:
http://ionicframework.com/getting-started/
http://ionicframework.com/docs/guide/preface.html
http://ionicmaterial.com/
sample
https://github.com/lanceli/cnodejs-ionic
https://github.com/diegonetto/generator-ionic
sample 2
http://coenraets.org/blog/2014/10/ionic-tutorial-and-sample-application/
sample 3
https://devdactic.com/simple-login-example-with-ionic-and-angularjs/
meteor + angularJS + angular material
https://material.angularjs.org/latest/demo/checkbox
For just UI
https://github.com/swiip/generator-gulp-angular#readme
? Existing .yo-rc configuration found, would you like to use it? No
? Would you like to use a REST resource library? None, $http is enough!
? Would you like to use a router? UI Router, flexible routing with nested views
? Which UI framework do you want? Bootstrap, the most popular HTML, CSS, and JS framework
? How do you want to implement your Bootstrap components? Angular UI Bootstrap, Bootstrap components written in pure AngularJS by the AngularUI Team
? Which CSS preprocessor do you want? Sass (Node), Node.js binding to libsass, the C version of the popular stylesheet preprocessor, Sass.
? Which JS preprocessor do you want? None, I like to code in standard JavaScript.
? Which HTML template engine would you want? None, I like to code in standard HTML.
Local storage
http://learn.ionicframework.com/formulas/localstorage/
backend service
http://learn.ionicframework.com/formulas/backend-data/
PouchDB
https://medium.com/@pinkyBrayne/offline-apps-using-ionic-framework-pouchdb-and-angularjs-44070fe39cc0#.d92fxypfu
Parse.com
https://parse.com/docs/rest/guide/
https://parse.com/docs/js/guide#data
1 Installation
Make Sure Installed nodeJS 4.x
> node --version
v4.2.2
> npm install -g cordova
> npm install -g ionic
> npm install -g ios-sim
Create the application
> ionic start smart-fisher tabs
Setup this project to use Sass: ionic setup sass
Develop in the browser with live reload: ionic serve
Add a platform (ios or Android): ionic platform add ios [android]
Build your app: ionic build <PLATFORM>
Simulate your app: ionic emulate <PLATFORM>
Run your app on a device: ionic run <PLATFORM>
Package an app using Ionic package service: ionic package <MODE> <PLATFORM>
For iOS
> ionic platform add ios
> ionic build ios
> ionic emulate ios
It is using iphone6 simulator and the window is small.
Check the emulator list
> os-sim showdevicetypes
iPhone-4s, 9.2
iPhone-5, 9.2
iPhone-5s, 9.2
iPad-2, 9.2
iPad-Retina, 9.2
iPad-Air, 9.2
iPhone-6, 9.2
iPhone-6-Plus, 9.2
iPhone-6s, 9.2
iPhone-6s-Plus, 9.2
iPad-Air-2, 9.2
iPad-Pro, 9.2
Apple-TV-1080p, tvOS 9.1
Apple-Watch-38mm, watchOS 2.1
Apple-Watch-42mm, watchOS 2.1
> ionic emulate ios --target="iPhone-6"
> vi /Users/carl/work/jobs/fishing-record/smart-fisher/platforms/ios/cordova/lib/run.js
The content in that file is as follow:
var validTargets = ['iPhone-4s', 'iPhone-5', 'iPhone-5s', 'iPhone-6-Plus', 'iPhone-6',
'iPad-2', 'iPad-Retina', 'iPad-Air', 'Resizable-iPhone', 'Resizable-iPad'];
And we can change the [window] —> [Scala] to adjust the size of the window
For Android
> ionic platform add android
> ionic build android
Create an image
> /Users/carl/Library/Android/sdk/tools/android avd
Or I am using Genymotion which is much and much faster.
I start the emulator myself and ionic will look genymotion as a real device.
> ionic run android
Start the webpage to develop
> ionic serve --lab
Visit this page
http://localhost:8100/ionic-lab
Or I can start from the sidemenu sample
> ionic start smart-fisher sidemenu
This document is really great
http://coenraets.org/blog/2014/10/ionic-tutorial-and-sample-application/
I will follow this document
http://ccoenraets.github.io/ionic-tutorial/install-ionic.html
References:
http://ionicframework.com/getting-started/
http://ionicframework.com/docs/guide/preface.html
http://ionicmaterial.com/
sample
https://github.com/lanceli/cnodejs-ionic
https://github.com/diegonetto/generator-ionic
sample 2
http://coenraets.org/blog/2014/10/ionic-tutorial-and-sample-application/
sample 3
https://devdactic.com/simple-login-example-with-ionic-and-angularjs/
meteor + angularJS + angular material
https://material.angularjs.org/latest/demo/checkbox
For just UI
https://github.com/swiip/generator-gulp-angular#readme
? Existing .yo-rc configuration found, would you like to use it? No
? Would you like to use a REST resource library? None, $http is enough!
? Would you like to use a router? UI Router, flexible routing with nested views
? Which UI framework do you want? Bootstrap, the most popular HTML, CSS, and JS framework
? How do you want to implement your Bootstrap components? Angular UI Bootstrap, Bootstrap components written in pure AngularJS by the AngularUI Team
? Which CSS preprocessor do you want? Sass (Node), Node.js binding to libsass, the C version of the popular stylesheet preprocessor, Sass.
? Which JS preprocessor do you want? None, I like to code in standard JavaScript.
? Which HTML template engine would you want? None, I like to code in standard HTML.
Local storage
http://learn.ionicframework.com/formulas/localstorage/
backend service
http://learn.ionicframework.com/formulas/backend-data/
PouchDB
https://medium.com/@pinkyBrayne/offline-apps-using-ionic-framework-pouchdb-and-angularjs-44070fe39cc0#.d92fxypfu
Parse.com
https://parse.com/docs/rest/guide/
https://parse.com/docs/js/guide#data
发表评论
-
Stop Update Here
2020-04-28 09:00 322I will stop update here, and mo ... -
NodeJS12 and Zlib
2020-04-01 07:44 484NodeJS12 and Zlib It works as ... -
Docker Swarm 2020(2)Docker Swarm and Portainer
2020-03-31 23:18 374Docker Swarm 2020(2)Docker Swar ... -
Docker Swarm 2020(1)Simply Install and Use Swarm
2020-03-31 07:58 375Docker Swarm 2020(1)Simply Inst ... -
Traefik 2020(1)Introduction and Installation
2020-03-29 13:52 345Traefik 2020(1)Introduction and ... -
Portainer 2020(4)Deploy Nginx and Others
2020-03-20 12:06 436Portainer 2020(4)Deploy Nginx a ... -
Private Registry 2020(1)No auth in registry Nginx AUTH for UI
2020-03-18 00:56 444Private Registry 2020(1)No auth ... -
Docker Compose 2020(1)Installation and Basic
2020-03-15 08:10 381Docker Compose 2020(1)Installat ... -
VPN Server 2020(2)Docker on CentOS in Ubuntu
2020-03-02 08:04 463VPN Server 2020(2)Docker on Cen ... -
Buffer in NodeJS 12 and NodeJS 8
2020-02-25 06:43 394Buffer in NodeJS 12 and NodeJS ... -
NodeJS ENV Similar to JENV and PyENV
2020-02-25 05:14 487NodeJS ENV Similar to JENV and ... -
Prometheus HA 2020(3)AlertManager Cluster
2020-02-24 01:47 432Prometheus HA 2020(3)AlertManag ... -
Serverless with NodeJS and TencentCloud 2020(5)CRON and Settings
2020-02-24 01:46 342Serverless with NodeJS and Tenc ... -
GraphQL 2019(3)Connect to MySQL
2020-02-24 01:48 255GraphQL 2019(3)Connect to MySQL ... -
GraphQL 2019(2)GraphQL and Deploy to Tencent Cloud
2020-02-24 01:48 456GraphQL 2019(2)GraphQL and Depl ... -
GraphQL 2019(1)Apollo Basic
2020-02-19 01:36 332GraphQL 2019(1)Apollo Basic Cl ... -
Serverless with NodeJS and TencentCloud 2020(4)Multiple Handlers and Running wit
2020-02-19 01:19 318Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(3)Build Tree and Traverse Tree
2020-02-19 01:19 324Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(2)Trigger SCF in SCF
2020-02-19 01:18 302Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(1)Running with Component
2020-02-19 01:17 315Serverless with NodeJS and Tenc ...
相关推荐
在本文中,我们将深入探讨`Ionic UI`,这是一个基于Angular框架构建的移动应用用户界面库。`Ionic`是一个流行的开源框架,它允许开发者使用Web技术(如HTML、CSS和JavaScript)构建高性能的原生移动应用。`UI`部分是...
**Ionic UI框架详解** Ionic是一款基于HTML5的开源移动应用框架,专为构建原生感观的混合式移动应用而设计。它利用AngularJS(一个强大的JavaScript框架)和Cordova/PhoneGap(允许Web开发技术运行在原生移动平台...
【标题】:“Ionic聊天UI”是指使用Ionic框架构建的用于创建聊天应用程序的用户界面组件。Ionic是一个开源的HTML5移动应用框架,它基于AngularJS,主要用于构建原生感观的混合移动应用。在这个项目中,重点是实现...
Zawgyi Unicode转换器Ionic本机应用程序(Android)是免费的开源Zawgyi-One和标准的缅甸Unicode转换器,适用于Android和iOS,使用Angular,Typescript,SCSS编写,并带有Ionic Native,Ionic UI组件等。 行动应用程...
#### 四、Ionic UI元素 **1. Action Sheets:** Action Sheets是iOS风格的一个弹出菜单,可以显示一系列选项供用户选择。 ```typescript import { AlertController } from '@ionic/angular'; constructor(public ...
总结,"前端项目-ionic.zip"提供了一个完整的Ionic开发环境,借助AngularJS的强大功能和Ionic丰富的UI组件,开发者能够快速构建出具有原生体验的移动应用。无论是新手还是有经验的开发者,都可以在这个项目基础上,...
【标题】"Ionic AngularJS Mobile UI" 是一个基于AngularJS框架和Ionic库构建的移动应用用户界面(UI)开发项目。这个项目展示了如何利用这两项技术来创建具有高度自适应性和跨平台兼容性的移动应用程序。 【描述】...
协作员工目录 建立在 Ionic 和 Angular 之上 这是一个以分层方式维护员工目录的简单应用程序,以便用户可以跟踪直接老板和下线员工的详细信息。... 贡献是 UI 框架 - Ionic + Angular、Phone Gap、Android SDK Manager
标题中的“为React打造的一套ionic风格的可复用UI组件库”表明这是一个专为React框架设计的用户界面(UI)组件集合,其设计灵感来源于Ionic框架,这意味着它可能具有移动优先、响应式的设计,适合构建跨平台的移动...
4. **离子框架组件(Ionic Framework Components)**:如`<ion-menu>`、`<ion-header>`、`<ion-content>`和`<ion-item>`等,这些是构建 Ionic 应用的基本元素,它们提供了丰富的UI交互和布局功能。 5. **服务...
Ionic提供了丰富的UI组件和工具,使应用具有与原生平台相似的外观和感觉。在这个自习应用中,Ionic可能被用来构建用户界面,提供流畅的导航和触摸友好体验。 在应用开发过程中,开发者可能会使用Git进行版本控制,...
Ionic提供了丰富的UI组件,如导航栏、列表、表单等,使开发者能快速构建美观且功能丰富的应用。同时,结合Angular框架,可以实现更复杂的业务逻辑和数据绑定。 总的来说,IonicLab作为Ionic开发的利器,简化了混合...
这个项目旨在帮助开发者快速掌握`Ionic2`框架,了解如何利用其特性构建功能丰富的移动应用程序,特别是涉及到下拉框(dropdown)和输入框(input)等常见UI组件的封装和应用。 `Ionic2`是第二代`Ionic`框架,它基于...
同时,Ionic还引入了Ionic Core,提供了一系列UI组件,如导航栏、滑块、按钮等,这些都极大地简化了界面设计。 2. **路由与导航**:在购物商城应用中,用户需要在商品列表、购物车、订单详情等多个页面间进行切换。...
Ionic 提供了一系列UI组件和工具,帮助开发者快速创建美观且功能丰富的跨平台应用。其设计原则是遵循移动平台的设计指南,确保在iOS和Android上拥有一致的用户体验。 **2. Cordova** Apache Cordova 是一个开源的...
在移动应用开发中,UI组件的选择器扮演着至关重要的角色,特别是对于日期选择,它是一个常见且必备的功能。"ionic-datepicker-oysq"是一个专为Ionic框架设计的日期选择器插件,它使得在Ionic应用中集成日期选择功能...
Ionic 5是该框架的第五个主要版本,提供了许多改进和新功能,包括更好的性能优化、新的UI组件、以及对TypeScript的深入支持。 【标签解析】 "TypeScript"是这个项目的关键技术标签。TypeScript是一种静态类型的超集...
在Cordova 3.x的基础上,开发者可以结合UI框架如Ionic Framework来构建美观且功能丰富的移动应用。 Ionic Framework是一个专为Cordova和AngularJS设计的开源HTML5移动应用框架,旨在提供一套完整的UI组件和工具,...
Angular 提供了一种声明式编程方式,使得前端开发更加高效,而 Ionic 则在此基础上提供了针对移动设备优化的UI组件和交互设计,如侧滑菜单、下拉刷新、加载指示器等,为开发者构建原生感观的应用提供了便利。...