Reputation: 656
I'm just copying the HTML code of ionic components into my App, but it is not styling like original sample.
<ion-view view-title="About us">
<ion-content padding>
<h1>About us</h1>
<ion-card>
<ion-card-header>
Header
</ion-card-header>
<ion-card-content>
The British use the term "header", but the American term "head-shot" the English simply refuse to adopt.
</ion-card-content>
</ion-card>
</ion-content>
</ion-view>
but it returns me this Screenshot of result page
I've checked all css and js is working on page, except ionic components.
Upvotes: 1
Views: 7296
Reputation: 656
Okay, I've got the problem. It's the different documentations for ionic v1 and v2 but google only list ionic v2 docs.
http://ionicframework.com/docs/v1/components
http://ionicframework.com/docs/components
Thanks to all for your time.
Upvotes: 2