javascript - console.log problem in eslint
天蓬老师
天蓬老师 2017-06-26 10:53:31
0
1
641

The vue project uses eslint to standardize the code, but console.log() is not allowed to be used in eslint.
Is there any good alternative on the client side?

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
曾经蜡笔没有小新

Add this to the eslint rules, and the console will not report errors

"rules": {
    "no-console": "off",
}
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!