cordova-template-ngx-onsenui
Version:
Cordova template with Onsen UI and Angular
72 lines (56 loc) • 2.14 kB
Markdown
<!--
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
-->
[![build][travis-ci-image]][travis-ci-url]
[![npm version][npm-image]][npm-url]
# cordova-template-ngx-onsenui
You can start your new cordova project perfectly with this template.
This template uses:
* [Onsen UI](https://onsen.io/)
* [Angular](https://angular.io/)
* [Cordova](https://cordova.apache.org/)
## Requirements
* **Node.js:** _10.x_ or higher
* **Cordova:** _9.x_ or higher
---
## Installation
This template needs cordova or phonegap, for more information [cordova installation](https://cordova.apache.org/docs/en/latest/guide/cli/) or [phonegap installation](http://docs.phonegap.com/getting-started/1-install-phonegap/desktop/).
``` bash
$ cordova create hello com.example.hello HelloWorld --template cordova-template-ngx-onsenui
$ phonegap create hello com.example.hello HelloWorld --template cordova-template-ngx-onsenui
```
## Usage
You can use cordova or phonegap commands.
Example usage:
```
$ npm install
$ npm start
```
```
$ npm run build
$ cordova platform add android
$ cordova run android
$ cordova platform add ios
$ cordova run ios
```
[travis-ci-url]: http://travis-ci.org/puku0x/ngrx-todo
[travis-ci-image]: https://travis-ci.org/puku0x/ngrx-todo.svg?branch=master
[npm-url]: https://badge.fury.io/js/cordova-template-ngx-onsenui
[npm-image]: https://badge.fury.io/js/cordova-template-ngx-onsenui.svg