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

chore: PLEASE consider support console in template. #6508

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

zhangenming
Copy link
Contributor

@zhangenming zhangenming commented Aug 19, 2022

many many times, I have to add this code at every vue project, for log something at template
It's pretty boring and disgusting.
app.config.globalProperties.console = 'console' or const console = window.console

I don't think this is a very rare sense, that use log at template
I'm curious to know why this feature is not turned on
What harm could it do, THANKS

more #3450 (comment)

@zhangenming zhangenming changed the title PLEASE consider add console to the list. PLEASE consider support console in template. Aug 19, 2022
@zhangenming zhangenming changed the title PLEASE consider support console in template. chore: PLEASE consider support console in template. Aug 19, 2022
@yyx990803 yyx990803 merged commit fe76224 into vuejs:main Apr 21, 2023
IAmSSH pushed a commit to IAmSSH/core that referenced this pull request May 14, 2023
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

Successfully merging this pull request may close these issues.

2 participants