rafaelescrich / collapse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Collapse

Angular 4 & Material 2 & Flex-layout & Animations = Collapse / Accordion !

DEPENDENCIES : need node version 6.x+ AND @angular/cli

instrus

git clone git@github.com:rubens001/collapse.git
cd collapse
npm install
ng serve
http://localhost:4200

@angular/cli install

$ npm install -g @angular/cli
OR
$ sudo npm install -g @angular/cli

Angular Material 2 install

npm install --save @angular/material

Angular Animations 4 install

npm install --save @angular/animations@latest

Flex-Layout

npm install @angular/flex-layout --save

create components

ng g c feature/collapsible
ng g c feature/chevron

START

$ npm install
$ ng serve
http://localhost:4200

Refs

https://material.angular.io/components
https://github.com/angular/material2/blob/master/guides/getting-started.md

About


Languages

Language:TypeScript 67.0%Language:HTML 15.6%Language:JavaScript 13.0%Language:CSS 4.4%