Giter Club home page Giter Club logo

ngx-onsenui-phonegap-starter's Introduction

Build Status Dependency status Dev Dependency status

Angular + Onsen UI 2 + PhoneGap Starter

Angular CLIPhoneGap を使ったハイブリッドアプリのサンプルです。

フロントエンドのフレームワークは AngularOnsen UI 2 を採用しています。

また、Angular CLI の ng serve コマンドを使った場合に 「Phonegap Developer」 アプリが利用できなくなる問題を解決するため、別途 Webpack による SCSS と TypeScript のトランスパイルを組み込んでいます。

必要なもの

使い方

リポジトリをクローン

$ git clone https://github.com/puku0x/ngx-onsenui-phonegap-starter.git

Angular CLI をインストール

$ npm install -g @angular/cli

依存パッケージをインストール

$ cd ngx-onsenui-phonegap-starter
$ npm install

ビルド & プレビュー

PhoneGap CLI を使う場合

$ npm start

ビルド後、ブラウザで http://localhost:3000 を開くとプレビューされます。

/src 内のファイルに変更を加えると自動的にリロードされます。

Angular CLI を使う場合

$ ng serve

ビルド後、ブラウザで http://localhost:4200 を開くとプレビューされます。

/src 内のファイルに変更を加えると自動的にリロードされます。

ビルド

Angular CLI のコマンドを用いてビルドしてください。

$ ng build --prod

ビルド結果は /www 内に出力されます。

ngx-onsenui-phonegap-starter's People

Contributors

puku0x avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.