Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

152
Views
Cómo alinear el centro del elemento de la tarjeta bootstrap-vue en Vue/Jhipster Project

Tengo un proyecto generado por jhipster con vue ui (interfaz de usuario estándar de jhipster). Quiero cambiar el contenido a un componente de la tarjeta, pero no puedo centrarlo sin importar lo que intente. Intenté hacerlo con un div y luego justificar/alinear el centro de contenido y con b--container pero aún no tuve suerte. ¿Podría alguien mirar mi código y decirme qué tiene de malo?

Componente principal:

 <template> <div id="app"> <ribbon></ribbon> <div id="app-header"> <jhi-navbar></jhi-navbar> </div> <b-container fluid style="align-content: center; justify-content: center"> <router-view></router-view> </b-container> <jhi-footer></jhi-footer> </div> </template>

Routerview es en este caso mi componente renderizado que se implementa así:

 <template> <b-card title="Card Title" img-src="https://picsum.photos/600/300/?image=25" img-alt="Image" img-top tag="article" style="max-width: 20rem;" class="mb-2" > <b-card-text> Some quick example text to build on the card title and make up the bulk of the card's content. </b-card-text> <b-button href="#" variant="primary">Go somewhere</b-button> </b-card> </template>

Sería útil si alguien pudiera decirme qué está mal con mi código.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!