Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

234
Vistas
template changes on npm run build vs npm run serve Vuejs

hello im using metronic template(vue js version) version 7 with vue2 and node version 16 and most of my pages are made with vuetify my problem is when i use npm run serve everything is ok and my ui structure is how it's supposed to be but when i run npm run build things get messed up like example below.

npm run build:

enter image description here

npm run serve:

enter image description here

this page code :

<v-app>
<v-container fluid>
  <v-row style="margin-top: -5rem" class="mb-1">
    <v-btn
      color="primary"
      @click="selectedIndex = undefined"
    >
      <v-icon>mdi-plus</v-icon>
      {{$t('BUTTONS.New')}}
    </v-btn>
  </v-row>
  <v-row style="background-color: #00695c">

    <v-tabs
        v-model="selectedIndex"
        dark
        background-color="teal darken-3"
        show-arrows
        active-class="phone-book-active-item"
        centered
        optional
    >
      <v-tabs-slider color="teal lighten-3"></v-tabs-slider>

      <v-tab
          v-for="i in phones"
          :key="i.id"
          v-text="i.name"
          @click="selected = i"
      ></v-tab>
    </v-tabs>

  </v-row>


  <v-row>
    <create
        class="mt-12" v-if="selectedIndex === undefined"
        @create="addedNewPhoneBook"
        :phones="phones"
    >

    </create>
    <update
      v-else
      v-model="phones[selectedIndex]"
      @delete="Delete"
      :phones="phones"
    >

    </update>
  </v-row>


</v-container>
.phone-book-active-item{
    background-color: rgba(255 , 255 , 255 , 0.2);
  }
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda