I have created *Angular2 CLI* application.
ref: https://github.com/valor-software/ng2-bootstrap
then: npm install ng2-bootstrap --save
then: <alert type="info">Hello from ng2-bootstrap {{ date.toDateString() 
}}</alert>

  <div style="display:inline-block; min-height:290px;">
    <datepicker [(ngModel)]="date" showWeeks="true"></datepicker>
  </div>

  /* src/app/home/home.ts */
  import {AlertComponent, DATEPICKER_DIRECTIVES} from 
'ng2-bootstrap/ng2-bootstrap';
  ...
  @Component({
    directives: [
      ...
      AlertComponent, DATEPICKER_DIRECTIVES
      ]
  })
  export class Home {
    date: Date = new Date();
  }

But I am getting error *zone.js:101 GET 
http://localhost:4200/ng2-bootstrap/ng2-bootstrap 404 (Not Found)*



On Monday, 25 July 2016 13:42:03 UTC-7, Pawel Kozlowski wrote:
>
> You can't "create" (in the sense "generate) "an accordion from CLI but 
> you can certainly use any of the existing libraries, ex.: 
> https://ng-bootstrap.github.io/#/components/accordion 
>
> Cheers, 
> Pawel 
>
> On Mon, Jul 25, 2016 at 10:24 PM, Prayag Ganoje <[email protected] 
> <javascript:>> wrote: 
> > Hello, 
> > 
> > Is there any way to create Accordian using Angular2 created using CLI ? 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "AngularJS" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/angular. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> AngularJS book: 
> http://www.packtpub.com/angularjs-web-application-development/book 
> Looking for bootstrap-based widget library for AngularJS? 
> http://angular-ui.github.com/bootstrap/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to