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 warn] handlers are not getting supressed on SSR #11830

Closed
justin-john opened this issue Sep 5, 2024 · 1 comment
Closed

[Vue warn] handlers are not getting supressed on SSR #11830

justin-john opened this issue Sep 5, 2024 · 1 comment
Labels
🐞 bug Something isn't working scope: ssr

Comments

@justin-john
Copy link

Vue version

3.4.37

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-jahlyn?file=app.js

Steps to reproduce

Run the node app.js or npm run start. I have made wrong variable reference in template with counts instead of count. So it should trigger warning logs in server terminal.

What is expected?

When we applied app.config.warnHandler = function() {}; to suppress warning code. All warning logs should be hidden in SSR.

template_wrong_variable

What is actually happening?

The [Vue warn] logs are still showing.

vue-warn-still-showing

System Info

No response

Any additional comments?

No response

@edison1105 edison1105 added 🐞 bug Something isn't working scope: ssr labels Sep 6, 2024
@justin-john
Copy link
Author

Thank you @yyx990803

@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: ssr
Projects
None yet
Development

No branches or pull requests

2 participants