Skip to content

This repository is contains a skeleton of an cordova application using the aurelia framework and all of it's dependencies.

Notifications You must be signed in to change notification settings

fragsalat/cordova-aurelia-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a skeleton of a cordova application using the aurelia framework. You need to have installed jspm, nodejs, npm, cordova and gulp.

The main application source is inside the folder src. With the gulp build task we copy the source and it's dependencies to the www folder. These step also transpiles the ECMAScript 6 code to ECMAScript 5. The gulp task bundle will use the aurelia bundler to combine all javascripts and templates to two files. Inside the aurelia.js file will be the aurelia framework with all dependencies. Our source folder src/js will be combined to app-build.js. The system.js file of jspm will read the config.js and knows which files to use after bundling.

Usage

Install all dependencies with node and javascript package managers

npm install && jspm install -y

Build the application for development

gulp build

Build the application for production

gulp bundle

Add a platform of your choice to cordova

cordova platform add android

Run the app on an android emulator or connected device

cordova run android

About

This repository is contains a skeleton of an cordova application using the aurelia framework and all of it's dependencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published