Replies: 1 comment 4 replies
-
Hmm, there shouldn't be a difference. Can you share the full project? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The code on the left will get
Uncaught ReferenceError: browser is not defined
when accessingbrowser
in development mode, but everything works fine in production. Manually importingbrowser
will not give this error.The code on the right does not have any exceptions. What is the difference between these two codes?
Left:
Right:
I would like to know the correct way to implement
@vitejs/plugin-vue
in WXT.Beta Was this translation helpful? Give feedback.
All reactions