GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ByronChen/cordova-ionic-app: cordova+ionic的手机应用开发脚手架

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
hooks
hooks
 
 
my_plugins
my_plugins
 
 
platforms/android
platforms/android
 
 
plugins
plugins
 
 
res/android
res/android
 
 
www/public/images/icon
www/public/images/icon
 
 
www_src
www_src
 
 
.gitignore
.gitignore
 
 
Gruntfile.js
Gruntfile.js
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bower.json
bower.json
 
 
config.xml
config.xml
 
 
package.json
package.json
 
 

Repository files navigation

cordova-ionic-app

cordova+ionic的手机应用开发脚手架(目前只示范了Android应用)

Ionic GUI

##特性:

  • 自动管理js依赖(使用了bower管理依赖)
  • 自动合并、压缩JS、CSS,压缩图片(使用了Grunt构建)
  • 大量丰富的手机APP的UI组件(采用了ionic框架,ionic传送门)
  • 强大的单页交互效果(ionic框架集成了AngularJS)
  • 设置了debug模式,修改代码自动刷新浏览器
  • 采用build机制,自动合并、压缩JS/CSS/HTML(包括HTML中的内链CSS/JS),总之全部压缩混淆,打包成app发布后有效的保护源码

##使用方式: -提前条件:自行安装nodejs、bower和Grunt环境以及phonegap(cordova)环境

先自动安装nodejs依赖

$ npm install

再自动安装js依赖

$ bower install

编码过程中运行以下命令,会自动刷新浏览器显示结果

$ grunt debug

一个阶段编码结束后,运行以下命令,可以压缩所有源码到根目录的dist目录

$ grunt build

最终浏览器再预览一遍,看看压缩后的代码有没有出错(比如ionic的依赖注入需要特殊处理后才能压缩js,否则会报错)

$ grunt server

完成工作,Android的真机调试,运行以下命令

$ cordova run

记得先插上手机哦
祝玩的愉快:)

About

cordova+ionic的手机应用开发脚手架

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.