我已按照您的安装说明来信,包括正确设置我的角度模块文件。第一次设置,但不能正常工作
我已经削减,并从您的演示粘贴代码到我的app.component.html
文件,如下
<ngb-tabset>
<ngb-tab title="Simple">
<ng-template ngbTabContent>
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth
master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh
dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum
iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
</ng-template>
</ngb-tab>
<ngb-tab>
<ng-template ngbTabTitle><b>Fancy</b> title</ng-template>
<ng-template ngbTabContent>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid.
<p>Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table
craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl
cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia
yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean
shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero
sint qui sapiente accusamus tattooed echo park.</p>
</ng-template>
</ngb-tab>
<ngb-tab title="Disabled" [disabled]="true">
<ng-template ngbTabContent>
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth
master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh
dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum
iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
</ng-template>
</ngb-tab>
</ngb-tabset>
然而
,我得到这个当我运行了在本地主机的网站:
所以有些东西是不正确的设置。
我用angular-cli创建了一个全新的Angular应用程序。 角的版本是4.0.0
感谢您的帮助
你使用的是什么版本的引导程序? – HaveSpacesuit
“@ ng-bootstrap/ng-bootstrap”:“^ 1.0.0-alpha.26”, “bootstrap”:“^ 4.0.0-alpha.6”, –
这里是角度cli中的版本 @角/ CLI:1.1.1 节点:6.10.3 操作系统:win32的64 @角/动画:4.2.2 @角/共同:4.2.2 @角/编译器:4.2.2 @角/芯:4.2.2 @ angular/forms:4.2.2 @ angular/http:4.2.2 @ angular/platform-browser:4.2.2 @ angular/platform-browser-dynamic:4.2.2 @ angular /路由器:4.2.2 @ angular/cli:1.1.1 @ angular/c ompiler-cli:4.2.2 @ angular/language-service:4.2.2 –