Ionic Components do not work

0

Good morning, everyone.

I'm starting an app with Ionic. And I'm trying to use the components that Ionic brings by default from code.

  

link

I understand that I need to import some type of library or similar since it currently does not work. If I put

<button class="button button-dark">Prueba</button>

As specified in the link that I went through earlier:

  

link

<button class="button button-dark"> button-dark </button>

Does not work visually.

Any idea what I'm doing wrong?

    
asked by Findelias 27.03.2017 в 16:46
source

1 answer

1

try using the ionic framework directives as I show below:

<button ion-button color="dark">Dark</button>

You can see more examples in: link or link

I hope you serve, greetings! : D

    
answered by 29.03.2017 / 05:02
source