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

131
Views
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
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!