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

133
Vistas
Vue3 app instance being created but not mounted

I'm integrating Vue3 to handle reactivity of a specific page of a webapp, so it's not a spa.

Vue instance is being created, but not mounted, nor the created() method is being called upon creation.

I'm using webpack and laravel-mix to compile the script, but i'm not sure if this is involved.

Here are the script and the page console output: as you can see there is no error in the console, the instance itself is being logged, but it seems that mounted() neither created() methods are being called, thus the first 2 warnings.

The script

import { createApp } from 'vue/dist/vue.esm-bundler'

const app = createApp({
    data: {
        width: 90,
        height: 210,
    },
    mounted() {
        console.log('mounted');
    },
    created() {
        console.log('created');
    }
});

app.mount('#app');

console.log(app);

console.log('test');
Page console output

enter image description here

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