Vue3 migration, vue is not defined in vite.config.file #10805
Closed
coure2011
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trying the official migration guide: https://v3-migration.vuejs.org/migration-build.html#installation
After adding point#3 code into my config file its like:
but getting error vue is not defined, when running the dev mode. Should I also remove vue2?
I have also added shim.d.ts file with this code
Beta Was this translation helpful? Give feedback.
All reactions