Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/asial-matagawa/vue-onsenui-cordova-iphonex

An example Cordova project supporting iPhone X using Onsen UI.
https://github.com/asial-matagawa/vue-onsenui-cordova-iphonex

Last synced: about 1 month ago
JSON representation

An example Cordova project supporting iPhone X using Onsen UI.

Awesome Lists containing this project

README

        

# vue-onsenui-cordova-iphonex

> An example Cordova project supporting iPhone X using [Onsen UI](https://onsen.io/vue/).

![Screenshot](/screenshot.gif)

## Build Setup

``` bash
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run on iPhone X or its simulator
cordova platform add ios
npm run build && cordova run ios --target="iPhone-X"
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).