Bootstraps

Bootstraps dengan Sass

Install Bower dari npm D:\Tools\Tutorial-Template\mythemes>npm install -g bower C:\Users\My PC\AppData\Roaming\npm\bower -> C:\Users\My PC\AppData\Roaming\npm\node_modules\bower\bin\bower C:\Users\My PC\AppData\Roaming\npm `-- bower@1.8.0 Install bootstrap-sass ke dalam folder project $ bower install bootstrap-sass --save D:\Tools\Tutorial-Template\mythemes>bower install bootstrap-sass --save bower bootstrap-sass#* cached https://github.com/twbs/bootstrap-sass.git#3.3.7 bower bootstrap-sass#* validate 3.3.7 against https://github.com/twbs/bootstrap-sass.git#* bower jquery#1.9.1 - 3 cached https://github.com/jquery/jquery-dist.git#3.2.1 bower jquery#1.9.1 - 3 validate 3.2.1 against https://github.com/jquery/jquery-dist.git#1.9.1 - 3 bower bootstrap-sass#^3.3.7 install bootstrap-sass#3.3.7 bower jquery#1.9.1 - 3 install jquery#3.2.1 bower no-json No bower.

Continue reading

Angular dan AngularFire2

Membuat Project ng new tokoonline npm install firebase angularfire2 --save npm install angular2-flash-messages --save Membuat Component home, Masuk directory components jalankan ng g component home akan terbentuk home dan file lainnya. D:\Tools\Tutorial-Angular\tokoonline>cd src\app\components D:\Tools\Tutorial-Angular\tokoonline\src\app\components>ng g component home installing component create src\app\components\home\home.component.css create src\app\components\home\home.component.html create src\app\components\home\home.component.spec.ts create src\app\components\home\home.component.ts update src\app\app.module.ts Membuat Component listings D:\Tools\Tutorial-Angular\tokoonline\src\app\components>ng g component listings installing component create src\app\components\listings\listings.component.css create src\app\components\listings\listings.

Continue reading