Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/newaeonweb/ngonsenmobileboilerplate

Simple Onsen UI + AngularJS scaffold for mobile applications with Apache Cordova
https://github.com/newaeonweb/ngonsenmobileboilerplate

Last synced: about 2 months ago
JSON representation

Simple Onsen UI + AngularJS scaffold for mobile applications with Apache Cordova

Awesome Lists containing this project

README

        

Onsen UI + AngularJS + Cordova Boilerplate
====

Simple Onsen UI + AngularJS scaffold for mobile applications with Apache Cordova

## Requirement

* Node.js - [Install Node.js](http://nodejs.org)
* Cordova - Install by `npm install cordova`

## Development Instructions

1. Install dependencies

$ npm install

2. Install Gulp globally

$ npm install -g gulp

3. Run `gulp serve` and run the web server

$ gulp serve

You should see running app on browser and you can start to develop your app with Onsen UI.

### Directory Layout

README.md --> This file
gulpfile.js --> Gulp tasks definition
www/ --> Asset files for app
index.html --> App entry point
js/
lib/
angular/ --> AngularJS dependency
onsen/
stylus/ --> Stylus files for onsen-css-components.css
js/ --> JS files for Onsen UI
css/ --> CSS files for Onsen UI
scripts/ --> Cordova scripts directory
platforms/ --> Cordova platform directory
plugins/ --> Cordova plugin directory
merges/ --> Cordova merge directory
hooks/ --> Cordova hook directory
scripts/ --> Cordova TS scripts directory and TS definitions

## Gulp Tasks

* `gulp serve` - Running the app for development.
* `gulp build` - Build several files for project.
* `gulp jshint` - Generate [jshint](https://github.com/jshint/jshint) report.