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

2.3K
Views
How do I reference the Vue instance in Vite?

I'm getting started with Vue 3 and Vite. How do I reference the Vue instance? I'm used to doing...

import Vue from 'vue'

but if I do this in my Vue3/Vite project, there's no default export in the vue module, so...

Uncaught SyntaxError: The requested module '/node_modules/.vite/vue.js?v=d734dbd3' does not provide an export named 'default'

I'm clearly having the same problem as this person. I want to do things like Vue.config, Vue.observable(), Vue.set(). There's something very basic that I'm missing. Anyone ?

What is this?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Yes, there is no longer a global instance of Vue available in Vue3:
https://v3.vuejs.org/guide/migration/global-api.html#global-api

You have to add these things to the app you created with createApp

over 4 years ago · Santiago Trujillo Report
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!