Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CapacitorをつかってAngularアプリの可能性を広げよう/ngjapan2019-c...

 CapacitorをつかってAngularアプリの可能性を広げよう/ngjapan2019-capacitor

ng-japan 2019「CapacitorをつかってAngularアプリの可能性を広げよう」登壇資料です。

Masahiko Sakakibara

July 13, 2019
Tweet

More Decks by Masahiko Sakakibara

Other Decks in Business

Transcript

  1. )PXUPTUBSU $ ng add @capacitor/angular $ ng build $ npx

    cap add ios $ npx cap open ios $ yarn $ npx cap init
  2. 'FBUVSFTPG$BQBDJUPS18"&MFNFOUT $ ionic start ng-demo sidemenu --capacitor $ npm install

    @ionic/pwa-elements IUUQTHJUIVCDPNSEMBCPOHKBQBOEFNP IUUQTOHKBQBOEFNPOFUMJGZDPN
  3. 'FBUVSFTPG$BQBDJUPSDPSFQMVHJOT • "QQ • #BDLHSPVOE5BTL • #SPXTFS • $BNFSB •

    $MJQCPBSE • $POTPMF • %FWJDF • 'JMFTZTUFN • (FPMPDBUJPO • )BQUJDT • ,FZCPBSE • -PDBM/PUJpDBUJPOT • .PEBMT • .PUJPO • /FUXPSL • 1VTI/PUJpDBUJPOT • 4IBSF • 4QMBTI4DSFFO • 4UBUVT#BS • 4UPSBHF • 5PBTU
  4. )PXUPTUBSUGPSHFOFSBUFQMVHJO $ npx @capacitor/cli plugin:generate $ npm publish import {

    Plugins } from ‘@capacitor/core'; Plugins.YourPlugin.accessMethod();