workflow(sfc-playground): share and download buttons

This commit is contained in:
Evan You
2021-03-28 23:36:36 -04:00
parent aa8bf1b7a3
commit 9613969ffc
15 changed files with 232 additions and 25 deletions

View File

@@ -97,7 +97,8 @@
['clear', 'log', 'info', 'dir', 'warn', 'error', 'table'].forEach((level) => {
const original = console[level];
console[level] = (...args) => {
if (String(args[0]).includes('You are running a development build of Vue')) {
const msg = String(args[0])
if (msg.includes('You are running a development build of Vue')) {
return
}
const stringifiedArgs = stringify(args);