Vue is undefined with vue2 #28361
Unanswered
dante01yoon
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings.
I get exception errors with Vue2 + webpack.
I have multiple entry points in my webpack.config.js,
And this is how my config.js look like
and this is how my cypress.config.ts looks like
I don't think commands.js, component.js would cause this problem, however, it looks like below
To resolve this issue, I had to add cdn to load Vue manually in my component-index.html
How can I deal with problem without install Vue manually?
BTW, this is how my test code looks like.
Beta Was this translation helpful? Give feedback.
All reactions