LoginSignup
3
4

More than 5 years have passed since last update.

NativeScript + Vue.jsメモ書き

Last updated at Posted at 2018-04-28

NativeScript + Vue.jsメモ書き

インストール

  1. https://nativescript-vue.org/en/docs/getting-started/installation/
  2. https://nativescript-vue.org/en/docs/getting-started/quick-start/

NativeScriptプラグイン

https://market.nativescript.org/
プッシュ通知やチャートのUIなどをプラグインできる

Windowsでビルドした場合に動作しない問題(修正されてた)

次のプルリクを反映すると動作する
https://github.com/nativescript-vue/nativescript-vue-externals/pull/4

チュートリアル

チャート

  1. npm install nativescript-ui-chart --save
  2. Playgroundのchart-directive.jsのコードを参考にVueに登録する image.png

  3. templateでの使い方はPlaygroundのコードを参考に

プッシュ通知

  1. npm install nativescript-push-notifications --save
  2. 後はここ参考 https://market.nativescript.org/plugins/nativescript-push-notifications

ローカル通知

  1. npm install nativescript-local-notifications --save
  2. 後はここ参考 https://market.nativescript.org/plugins/nativescript-local-notifications

NativeScript API

ドキュメント

一部APIがimportできない問題(修正されてた)

次のプルリクを反映すると動作する
https://github.com/nativescript-vue/nativescript-vue-externals/pull/4

Playground

https://play.nativescript.org/
お試しでweb上でUIを作ることができる。
一度QRコードで読み込んでおけば、変更が即座に実機に反映される。

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4