-
- Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
✨ feature requestNew feature or requestNew feature or request
Description
What problem does this feature solve?
I don't understand, why console
can't be used in the template since Vue 2, it makes template debugging much more complicated than it needs to be, Svelte supports console
in the template out of the box, can Vue be more user friendly in this regard?
What does the proposed API look like?
<template> <!-- just works, no more `console` doesn't exist --> <button @click="console.log">Log</button> </template>
If we want to discourage console
usage in the templates, it can be achieved using eslint lint rules, but not usable at all is a complete overkill.
x80819091, tachibana-shin, huangyan321, hairyf, knull-a and 7 morex80819091 and zhangenming
Metadata
Metadata
Assignees
Labels
✨ feature requestNew feature or requestNew feature or request