Skip to content

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
2 participants