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

AngularとOnsen UI 2で モバイルアプリを作る話

puku0x
June 14, 2017

AngularとOnsen UI 2で モバイルアプリを作る話

puku0x

June 14, 2017
Tweet

More Decks by puku0x

Other Decks in Technology

Transcript

  1. ngx-onsenui import { BrowserModule } from '@angular/platform-browser'; import { NgModule,

    CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { OnsenModule } from 'ngx-onsenui'; import { AppComponent } from './app.component'; @NgModule({ declarations: [AppComponent], imports: [BrowserModule, OnsenModule], bootstrap: [AppComponent], schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class AppModule { } 0OTFO.PEVMF ͷΠϯϙʔτͱ εΩʔϚͷઃఆ
  2. WebpackͰϏϧυ • npm + Webpack + PhoneGap/Cordova https://github.com/puku0x/angular-onsenui2-webpack2 /src /www

    Ϗϧυ มߋݕ஌ มߋݕ஌ .html .ts .scss ϩʔμͷઃఆ͸ng ejectͨ͠ޙͷwebpack.config.js ࢀߟ