vue-i18n 8.28.2 not working with vite (Vue 2.7), error "Uncaught TypeError: Vue is undefined" #2009
Open
4 tasks done
Labels
Status: Review Needed
Request for review comments
Reporting a bug?
I am migrating a vue-cli v5/webpack project to vite (preparation before i want to migrate to Vue 3).
Whenever i run
vite
, the app doesn't load in the browser. Instead i see aUncaught TypeError: Vue is undefined
from vue-i18n, see attached screenshotsExpected behavior
It works like with webpack/vue-cli (v5)
Reproduction
src/main.ts
src/i18n/index.tx
System Info
Screenshot
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: