Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

__VUE_PROD_DEVTOOLS__ is not defined #363

Closed
ycy1621260121 opened this issue Jan 2, 2024 · 2 comments
Closed

__VUE_PROD_DEVTOOLS__ is not defined #363

ycy1621260121 opened this issue Jan 2, 2024 · 2 comments

Comments

@ycy1621260121
Copy link

开发环境、测试环境出现这个报错__VUE_PROD_DEVTOOLS__ is not defined
网上有webpack的配置方式,但我按照网上的放到项目里面还是报错
image
image

@newstart0514
Copy link

newstart0514 commented Jan 4, 2024

这个似乎是vuex的问题,你可以将第二张图片的代码改为如下代码试试看:

plugins: [
    new webpack.DefinePlugin({
        __VUE_PROD_DEVTOOLS__: JSON.stringify(false)
    })
]

@ckken
Copy link
Contributor

ckken commented Feb 28, 2024

emp 3.0已经加进去了

@ckken ckken closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants